From: Ruben Kerkhof Date: Wed, 25 May 2016 14:13:55 +0000 (+0200) Subject: Add missing udev flags to Makefile.am X-Git-Tag: collectd-5.5.2~13^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3b56e40e26d5d8dd2662b84d50b73fac3b5135e5;p=collectd.git Add missing udev flags to Makefile.am --- diff --git a/src/Makefile.am b/src/Makefile.am index 0ab4e99b..a3da05f3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -315,6 +315,8 @@ disk_la_CFLAGS += $(BUILD_WITH_LIBSTATGRAB_CFLAGS) disk_la_LIBADD += $(BUILD_WITH_LIBSTATGRAB_LDFLAGS) endif if BUILD_WITH_LIBUDEV +disk_la_CFLAGS += $(BUILD_WITH_LIBUDEV_CFLAGS) +disk_la_LDFLAGS += $(BUILD_WITH_LIBUDEV_LDFLAGS) disk_la_LIBADD += -ludev endif if BUILD_WITH_PERFSTAT @@ -916,8 +918,8 @@ if BUILD_PLUGIN_SMART if BUILD_WITH_LIBUDEV pkglib_LTLIBRARIES += smart.la smart_la_SOURCES = smart.c -smart_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBATASMART_CPPFLAGS) -smart_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBATASMART_LDFLAGS) +smart_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBATASMART_CPPFLAGS) $(BUILD_WITH_LIBUDEV_CFLAGS) +smart_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_LIBATASMART_LDFLAGS) $(BUILD_WITH_LIBUDEV_LDFLAGS) smart_la_LIBADD = $(BUILD_WITH_LIBATASMART_LIBS) -ludev endif endif