diff options
author | Yang Tse <yangsita@gmail.com> | 2012-12-04 23:30:05 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-12-04 23:32:05 +0100 |
commit | b908376bef462644e204b50f7a8c3df5871883bf (patch) | |
tree | 4354dac9f4262bcd99746946d022f95ad3b7217b /tests/unit/Makefile.am | |
parent | 8b02afd9a938d6db150fa1ba34cca64de873f5d8 (diff) | |
download | curl-b908376bef462644e204b50f7a8c3df5871883bf.tar.gz |
build: explain current role of LIBS in our Makefile.am files
BLANK_AT_MAKETIME may be used in our Makefile.am files to blank
LIBS variable used in generated makefile at makefile processing
time. Doing this functionally prevents LIBS from being used for
all link targets in given makefile.
Diffstat (limited to 'tests/unit/Makefile.am')
-rw-r--r-- | tests/unit/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 058216814..eb29241ad 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -54,7 +54,10 @@ endif EXTRA_DIST = Makefile.inc -LDADD = $(top_builddir)/lib/libcurlu.la @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@ +# Prevent LIBS from being used for all link targets +LIBS = $(BLANK_AT_MAKETIME) + +LDADD = $(top_builddir)/lib/libcurlu.la @LDFLAGS@ @LIBCURL_LIBS@ DEPENDENCIES = $(top_builddir)/lib/libcurlu.la AM_CPPFLAGS += -DUNITTESTS |