Skip to content

Commit

Permalink
fix build for boost-dependence when not in /usr
Browse files Browse the repository at this point in the history
  • Loading branch information
baallan authored and tom95858 committed Jan 31, 2022
1 parent 8b36876 commit a54ebb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions util/sample_init_scripts/genders/src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@

AM_CFLAGS = \
"-DLDMS_SRCDIR=\"$(abs_top_srcdir)\"" \
"-DLDMS_BUILDDIR=\"$(abs_top_builddir)\""
"-DLDMS_BUILDDIR=\"$(abs_top_builddir)\"" \
$(BOOST_CPPFLAGS)

if ENABLE_LIBGENDERS
bin_PROGRAMS = ldmsctl_args3
ldmsctl_args3_SOURCES = ldmsctl_args3.cxx
ldmsctl_args3_LDADD = -lgendersplusplus -lboost_program_options -lboost_regex
ldmsctl_args3_LDFLAGS = $(AM_LDFLAGS) @LIBGENDERS_LIBDIR_FLAG@ @LIBGENDERS_LIB64DIR_FLAG@
ldmsctl_args3_LDFLAGS = $(AM_LDFLAGS) @LIBGENDERS_LIBDIR_FLAG@ @LIBGENDERS_LIB64DIR_FLAG@ -L$(BOOST_ROOT)/lib
ldmsctl_args3_CPPFLAGS = $(AM_CFLAGS) @LIBGENDERS_INCDIR_FLAG@
endif

0 comments on commit a54ebb4

Please sign in to comment.