From 02038b223e56f7f7f3c6db0a9d745dca2d1dadf8 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Thu, 29 Mar 2018 12:05:33 -0700 Subject: [PATCH] build: add BOOST_LDFLAGS Problem: cannot find boost libraries when building test executables. When linking against a side installed boost, $(BOOST_LDFLAGS) is required. Add it. --- resource/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resource/Makefile.am b/resource/Makefile.am index a43062b16..30d728c3d 100644 --- a/resource/Makefile.am +++ b/resource/Makefile.am @@ -28,6 +28,7 @@ utilities_grug2dot_SOURCES = \ utilities_grug2dot_CXXFLAGS = \ $(AM_CXXFLAGS) utilities_grug2dot_LDADD = \ + $(BOOST_LDFLAGS) \ $(BOOST_SYSTEM_LIB) \ $(BOOST_FILESYSTEM_LIB) \ $(BOOST_GRAPH_LIB) \ @@ -63,6 +64,7 @@ utilities_resource_query_LDADD = \ $(top_builddir)/resource/planner/libplanner.la \ $(JOBSPEC_LIBS) \ $(READLINE_LIBS) \ + $(BOOST_LDFLAGS) \ $(BOOST_SYSTEM_LIB) \ $(BOOST_FILESYSTEM_LIB) \ $(BOOST_GRAPH_LIB) \