Skip to content

Commit

Permalink
build: add BOOST_LDFLAGS
Browse files Browse the repository at this point in the history
Problem: cannot find boost libraries when building test
executables.

When linking against a side installed boost, $(BOOST_LDFLAGS)
is required.  Add it.
  • Loading branch information
garlick committed Mar 30, 2018
1 parent a38db27 commit 02038b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resource/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down Expand Up @@ -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) \
Expand Down

0 comments on commit 02038b2

Please sign in to comment.