From a54ebb4dea84cbe4b6e1614ee9265ece01b85320 Mon Sep 17 00:00:00 2001 From: Ben Allan Date: Fri, 28 Jan 2022 20:31:27 -0700 Subject: [PATCH] fix build for boost-dependence when not in /usr --- util/sample_init_scripts/genders/src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/sample_init_scripts/genders/src/Makefile.am b/util/sample_init_scripts/genders/src/Makefile.am index ee425da28..9defeb158 100644 --- a/util/sample_init_scripts/genders/src/Makefile.am +++ b/util/sample_init_scripts/genders/src/Makefile.am @@ -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