mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
build: fixed unit1394 for debug and metlink builds
This commit is contained in:
parent
bcf1b9dec1
commit
8dac7be438
@ -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 unit tests are enabled, build a static library to link them with
|
||||||
if BUILD_UNITTESTS
|
if BUILD_UNITTESTS
|
||||||
noinst_LTLIBRARIES = libcurltool.la
|
noinst_LTLIBRARIES = libcurltool.la
|
||||||
|
libcurltool_la_CPPFLAGS = $(LIBMETALINK_CPPFLAGS) $(AM_CPPFLAGS)
|
||||||
libcurltool_la_CFLAGS = -DUNITTESTS
|
libcurltool_la_CFLAGS = -DUNITTESTS
|
||||||
libcurltool_la_LDFLAGS = -static $(LINKFLAGS)
|
libcurltool_la_LDFLAGS = -static $(LINKFLAGS)
|
||||||
libcurltool_la_SOURCES = $(curl_SOURCES)
|
libcurltool_la_SOURCES = $(curl_SOURCES)
|
||||||
|
@ -39,5 +39,7 @@ unit1330_SOURCES = unit1330.c $(UNITFILES)
|
|||||||
unit1330_CPPFLAGS = $(AM_CPPFLAGS)
|
unit1330_CPPFLAGS = $(AM_CPPFLAGS)
|
||||||
|
|
||||||
unit1394_SOURCES = unit1394.c $(UNITFILES)
|
unit1394_SOURCES = unit1394.c $(UNITFILES)
|
||||||
unit1394_CPPFLAGS = $(AM_CPPFLAGS)
|
unit1394_CPPFLAGS = $(AM_CPPFLAGS) $(LIBMETALINK_CPPFLAGS)
|
||||||
|
unit1394_LDADD = @LIBMETALINK_LIBS@ $(top_builddir)/lib/libcurl.la @LIBCURL_LIBS@
|
||||||
|
unit1394_LDFLAGS = @LIBMETALINK_LDFLAGS@ $(top_builddir)/src/libcurltool.la
|
||||||
|
unit1394_LIBS =
|
||||||
|
Loading…
Reference in New Issue
Block a user