1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

autotools: fix static linking

Closes #7475
This commit is contained in:
Travis Burtrum 2021-07-21 21:01:06 -04:00
parent 59878411c4
commit 92a1b41df0

View File

@ -66,6 +66,9 @@ else
curl_LDADD = $(top_builddir)/lib/libcurl.la @NSS_LIBS@ @SSL_LIBS@ @ZLIB_LIBS@ @CURL_NETWORK_AND_TIME_LIBS@
endif
curl_LDFLAGS = $(curl_LDFLAGS)
curl_CPPFLAGS = $(AM_CPPFLAGS)
# if unit tests are enabled, build a static library to link them with
if BUILD_UNITTESTS
noinst_LTLIBRARIES = libcurltool.la