From: Ruben Kerkhof Date: Fri, 3 Jun 2016 18:34:29 +0000 (+0200) Subject: lvm: add missing cppflags and ldflags to Makefile X-Git-Tag: collectd-5.6.0~272 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=02dc55aeb2048268eab829f2e9a8f159969ce999;p=collectd.git lvm: add missing cppflags and ldflags to Makefile --- diff --git a/src/Makefile.am b/src/Makefile.am index 4e0010fc..0ea0e294 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -511,7 +511,8 @@ endif if BUILD_PLUGIN_LVM pkglib_LTLIBRARIES += lvm.la lvm_la_SOURCES = lvm.c -lvm_la_LDFLAGS = $(PLUGIN_LDFLAGS) +lvm_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBLVM2APP_CPPFLAGS) +lvm_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBLVM2APP_LDFLAGS) lvm_la_LIBADD = $(BUILD_WITH_LIBLVM2APP_LIBS) endif