build: fixed unit1394 for debug and metlink builds

This commit is contained in:
Daniel Stenberg
2013-05-06 23:28:04 +02:00
parent bcf1b9dec1
commit 8dac7be438
2 changed files with 5 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la
# if unit tests are enabled, build a static library to link them with
if BUILD_UNITTESTS
noinst_LTLIBRARIES = libcurltool.la
libcurltool_la_CPPFLAGS = $(LIBMETALINK_CPPFLAGS) $(AM_CPPFLAGS)
libcurltool_la_CFLAGS = -DUNITTESTS
libcurltool_la_LDFLAGS = -static $(LINKFLAGS)
libcurltool_la_SOURCES = $(curl_SOURCES)