changed LIBADD to reference variable BUILD_WTH_LIBLVM2APP_LIBS
authorChad Malfait <cmalfait@yahoo.com>
Sun, 7 Apr 2013 00:54:11 +0000 (18:54 -0600)
committerChad Malfait <cmalfait@yahoo.com>
Sun, 7 Apr 2013 00:54:11 +0000 (18:54 -0600)
src/Makefile.am

index 0f28478..4ffb8b0 100644 (file)
@@ -1294,7 +1294,7 @@ if BUILD_PLUGIN_VOLUME
 pkglib_LTLIBRARIES += volume.la
 volume_la_SOURCES = volume.c
 volume_la_LDFLAGS = -module -avoid-version
-volume_la_LIBADD = -llvm2app
+volume_la_LIBADD = $(BUILD_WITH_LIBLVM2APP_LIBS)
 collectd_LDADD += "-dlopen" volume.la
 collectd_DEPENDENCIES += volume.la
 endif