From: Eric Bollengier Date: Wed, 6 Sep 2023 14:55:05 +0000 (+0200) Subject: Fix compilation with btotp X-Git-Tag: Beta-15.0.0~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=374c0a68a6ec55af92c1e674a109bebf066bf1a1;p=thirdparty%2Fbacula.git Fix compilation with btotp --- diff --git a/bacula/src/plugins/dir/totp/Makefile b/bacula/src/plugins/dir/totp/Makefile index c51cfa508..53f81e45d 100644 --- a/bacula/src/plugins/dir/totp/Makefile +++ b/bacula/src/plugins/dir/totp/Makefile @@ -33,12 +33,12 @@ totp-dir.la: $(TOTPOBJ) btotp: $(TOTPSRC) ../dirpluglib.lo $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I${SRCDIR} -I${LIBDIR} -I${SRCDIR}/dird -I.. -DSYSCONFDIR=\"$(sysconfdir)\" -DWORKDIR=\"$(DESTDIR)$(working_dir)\" -DBTOTP_PROGRAM=1 -c $< -o btotp.lo - $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I${SRCDIR} -I${LIBDIR} -I${SRCDIR}/dird -I.. -DSYSCONFDIR=\"$(sysconfdir)\" -DWORKDIR=\"$(DESTDIR)$(working_dir)\" -o $@ btotp.lo ../dirpluglib.lo -L${LIBDIR} -lbac + $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) -I${SRCDIR} -I${LIBDIR} -I${SRCDIR}/dird -I.. -DSYSCONFDIR=\"$(sysconfdir)\" -DWORKDIR=\"$(DESTDIR)$(working_dir)\" -o $@ btotp.lo ../dirpluglib.lo -L${LIBDIR} -lbac ${OPENSSL_LIBS} btotp_test: $(TOTPSRC) ../dirpluglib.lo $(MAKE) -C ${LIBDIR} alist_test $(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I${SRCDIR} -I${LIBDIR} -I${SRCDIR}/dird -I.. -DSYSCONFDIR=\"$(sysconfdir)\" -DWORKDIR=\"$(DESTDIR)$(working_dir)\" -DTEST_PROGRAM=1 -c $< -o btotp_test.lo - $(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(CPPFLAGS) $(CFLAGS) -I${SRCDIR} -I${LIBDIR} -I${SRCDIR}/dird -I.. -DSYSCONFDIR=\"$(sysconfdir)\" -DWORKDIR=\"$(DESTDIR)$(working_dir)\" -o $@ btotp_test.lo ../dirpluglib.lo ${LIBDIR}/unittests.o -L${LIBDIR} -lbac + $(LIBTOOL_LINK) $(CXX) -I${SRCDIR} -I${LIBDIR} -I${SRCDIR}/dird -I.. -DSYSCONFDIR=\"$(sysconfdir)\" -DWORKDIR=\"$(DESTDIR)$(working_dir)\" -o $@ btotp_test.lo ../dirpluglib.lo ${LIBDIR}/unittests.o -L${LIBDIR} -lbac ${OPENSSL_LIBS} install-test: btotp_test $(NO_ECHO)$(MKDIR) $(DESTDIR)$(sbindir)