diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-07-23 21:51:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-07-23 21:51:12 +0200 |
commit | 1a593191c2769a47b8c3e4d9715ec9f6dddf5e36 (patch) | |
tree | 91fa47730247bb1cd3e88f57c636cbe07f523a37 | |
parent | 2c4ef997b97fa32b1f67c12f0de24528f43792f8 (diff) |
Makefile.am: use LDFLAGS as well when linking libcurl
Linking on Solaris 10 x86 with Sun Studio 12 failed when we upgraded
automake for the release builds.
Bug: http://curl.haxx.se/bug/view.cgi?id=1217
Reported-by: Dagobert Michelsen
-rw-r--r-- | lib/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 925483b1f..4477cc25f 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -141,7 +141,7 @@ libcurl_la_CFLAGS_EXTRA += $(CFLAG_CURL_SYMBOL_HIDING) endif libcurl_la_CPPFLAGS = $(AM_CPPFLAGS) $(libcurl_la_CPPFLAGS_EXTRA) -libcurl_la_LDFLAGS = $(AM_LDFLAGS) $(libcurl_la_LDFLAGS_EXTRA) $(LIBCURL_LIBS) +libcurl_la_LDFLAGS = $(AM_LDFLAGS) $(libcurl_la_LDFLAGS_EXTRA) $(LDFLAGS) $(LIBCURL_LIBS) libcurl_la_CFLAGS = $(AM_CFLAGS) $(libcurl_la_CFLAGS_EXTRA) libcurlu_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_STATICLIB -DUNITTESTS |