Code

lvm: add missing cppflags and ldflags to Makefile
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:34:29 +0000 (20:34 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 18:34:29 +0000 (20:34 +0200)
src/Makefile.am

index 4e0010fc8d7c38c62422949a5d4992e25e614848..0ea0e294cec0bfa9f946261f40c3da763729cbbe 100644 (file)
@@ -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