From a0a47f2767b6b17c6fdeeb2418e1371df25cbc6d Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 17 Feb 2007 01:29:01 +0000 Subject: 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. --- lib/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Makefile.am') 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 -- cgit v1.2.3