diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-10-04 14:26:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-04 14:26:10 +0000 |
commit | cfa0054077677f74b6b6d458577c1efd9cc5b912 (patch) | |
tree | e4d5f43ab5a2ad1cfc4699ae09d3cb63aa8b1259 | |
parent | 3d5820648b060788a59dc133c4300530dbdfcd4a (diff) |
The -no-undefined flag is CRUCIAL for this to build fine on Cygwin. If we
find a case in which we need to remove this flag, we should most likely
write a configure check that detects when this flag is needed and when its
not.
-rw-r--r-- | lib/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index c9c726f11..2c6cfbfc4 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -16,7 +16,12 @@ lib_LTLIBRARIES = libcurl.la # we use srcdir/lib for the lib-private header files INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib -I$(top_srcdir)/lib -libcurl_la_LDFLAGS = -version-info 2:2:0 +# The -no-undefined flag is CRUCIAL for this to build fine on Cygwin. If we +# find a case in which we need to remove this flag, we should most likely +# write a configure check that detects when this flag is needed and when its +# not. +libcurl_la_LDFLAGS = -no-undefined -version-info 2:2:0 + # This flag accepts an argument of the form current[:revision[:age]]. So, # passing -version-info 3:12:1 sets current to 3, revision to 12, and age to # 1. |