From: Eric Bollengier Date: Thu, 25 Mar 2021 15:39:01 +0000 (+0100) Subject: Tweak unittests compilation from tools/ directory X-Git-Tag: Release-11.0.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30646b07a14ac4f3056282214b9c255a50833778;p=thirdparty%2Fbacula.git Tweak unittests compilation from tools/ directory --- diff --git a/bacula/src/tools/Makefile.in b/bacula/src/tools/Makefile.in index 24225509b..30b396abe 100644 --- a/bacula/src/tools/Makefile.in +++ b/bacula/src/tools/Makefile.in @@ -61,6 +61,9 @@ all: Makefile $(TOOLS) gigaslam grow @echo "==== Make of tools is good ====" @echo " " +../lib/unittests.o: ../lib/unittests.c + (cd ../lib ; make unittests.o) + test-cpp: test-cpp.o ../lib/unittests.o $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ test-cpp.o ../lib/unittests.o -lbac $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)