build: prevent global LIBS from influencing src and lib build targets

Currently, LIBS is already used through other macros.
This commit is contained in:
Yang Tse
2012-12-03 22:40:26 +01:00
parent 68d2830ee9
commit 068f7ae264
6 changed files with 153 additions and 140 deletions

View File

@@ -132,6 +132,9 @@ if VERSIONED_SYMBOLS
VERSIONED_SYMBOLS = -Wl,--version-script=libcurl.vers
endif
# Prevent global LIBS from influencing lib build targets
LIBS = $(BLANK_AT_MAKETIME)
libcurl_la_LDFLAGS = $(UNDEF) $(VERSIONINFO) $(MIMPURE) $(VERSIONED_SYMBOLS) $(LIBCURL_LIBS)
if DOING_CURL_SYMBOL_HIDING