X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=d547a4f13329cc581cf657dadc6611ac46704ab5;hb=b9b5e5d573d0011c4f3276e9b84b73ba4dd2e870;hp=b7d5448ca173ec5f655fc7d7a5b45b4c9dc2210e;hpb=38e94dcc796e5d00088826ffd5d43ca5a2e590a2;p=collectd.git diff --git a/Makefile.am b/Makefile.am index b7d5448c..d547a4f1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -594,7 +594,7 @@ if BUILD_PLUGIN_BAROMETER pkglib_LTLIBRARIES += barometer.la barometer_la_SOURCES = src/barometer.c barometer_la_LDFLAGS = $(PLUGIN_LDFLAGS) -barometer_la_LIBADD = -lm +barometer_la_LIBADD = -lm $(BUILD_WITH_LIBI2C_LIBS) endif if BUILD_PLUGIN_BATTERY