mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:43:39 +03:00
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.
This commit is contained in:
parent
213017e9cf
commit
a0a47f2767
4 changed files with 33 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue