aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.am
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-02-17 01:29:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-02-17 01:29:01 +0000
commita0a47f2767b6b17c6fdeeb2418e1371df25cbc6d (patch)
tree3f9f8004f16a7c1f5069a3e38ad60deac570e25f /lib/Makefile.am
parent213017e9cfea983a8b8e38c1a591e77dd2ecb85e (diff)
Better separate the library dependencies into those required by libcurl
and those required by other components to avoid forcing unneeded dependencies into the target objects.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1a0f5fa63..edefb0e01 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -39,6 +39,7 @@ EXTRA_DIST = Makefile.b32 Makefile.m32 Makefile.vc6 Makefile.riscos \
CLEANFILES = $(DSP) $(VCPROJ)
lib_LTLIBRARIES = libcurl.la
+LIBCURL_LIBS = @LIBCURL_LIBS@
# we use srcdir/include for the static global include files
# we use builddir/lib for the generated lib/config.h file to get found
@@ -89,7 +90,7 @@ if MIMPURE
MIMPURE = -mimpure-text
endif
-libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(MIMPURE)
+libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(MIMPURE) $(LIBCURL_LIBS)
# Makefile.inc provides the CSOURCES and HHEADERS defines
include Makefile.inc