Module: check_mk
Branch: master
Commit: f90def66d691464b4c6e4a559b71b42e6c5f59f4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f90def66d69146…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed May 17 14:50:23 2017 +0200
Tweak Boost autoconf magic.
Change-Id: I4ee68579ffa6a5d854981c14c21d35678b3f785d
---
livestatus/src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/Makefile.am b/livestatus/src/Makefile.am
index c58ac10..2f95a53 100644
--- a/livestatus/src/Makefile.am
+++ b/livestatus/src/Makefile.am
@@ -163,10 +163,10 @@ liblivestatus_a_CXXFLAGS = -fPIC
livestatus.o: $(liblivestatus_a_OBJECTS)
# Note: libstdc++fs is only available as a static library, so we are lucky
- $(CXX) $(LDFLAGS) -shared $^ -o $@ -lstdc++fs -lpthread -static-libstdc++
@BOOST_LDFLAGS@ -lboost_system
+ $(CXX) $(LDFLAGS) -shared $^ -o $@ -lstdc++fs -lpthread -static-libstdc++
# To make sure we can dlopen() our NEB later
$(CXX) $(liblivestatus_a_CXXFLAGS) $(CXXFLAGS) -c NagiosMockup.cc -o NagiosMockup.o
- $(CXX) $(liblivestatus_a_CXXFLAGS) $(CXXFLAGS) NagiosMockup.o $@ -o NagiosMockup
+ $(CXX) $(liblivestatus_a_CXXFLAGS) $(CXXFLAGS) NagiosMockup.o $@ @BOOST_LDFLAGS@
@BOOST_ASIO_LIB@ -o NagiosMockup
$(RM) NagiosMockup
all-local: livestatus.o