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 cca33da commit 889c569
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resource/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ AM_CXXFLAGS = \
-Werror=no-maybe-uninitialized \
$(CODE_COVERAGE_CXXFLAGS)

AM_LDFLAGS = $(CODE_COVERAGE_LDFLAGS)
AM_LDFLAGS = $(CODE_COVERAGE_LDFLAGS) \
$(BOOST_LDFLAGS)

AM_CPPFLAGS = -I$(top_srcdir) $(CZMQ_CFLAGS) $(FLUX_CORE_CFLAGS) \
$(BOOST_CPPFLAGS)
Expand Down

0 comments on commit 889c569

Please sign in to comment.