author | Florian Forster <octo@huhu.verplant.org> | |
Mon, 3 May 2010 07:25:04 +0000 (09:25 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 3 May 2010 07:25:04 +0000 (09:25 +0200) |
1 | 2 | |||
---|---|---|---|---|
src/Makefile.am | patch | | diff1 | | diff2 | | blob | history |
diff --combined src/Makefile.am
index d4aaac7a7ee6959af9d4e86da3281d2f2876b6ee,2a32ece82ea621469bacf0b75b2493e06f6dcbc4..8c1f8ba37d0830c5a01668871613aacdf6c75395
--- 1/src/Makefile.am
--- 2/src/Makefile.am
+++ b/src/Makefile.am
pkglib_LTLIBRARIES += python.la
python_la_SOURCES = python.c pyconfig.c pyvalues.c cpython.h
python_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_PYTHON_CPPFLAGS)
+ python_la_CFLAGS = $(AM_CFLAGS)
+ if COMPILER_IS_GCC
+ python_la_CFLAGS += -fno-strict-aliasing -Wno-strict-aliasing
+ endif
python_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_PYTHON_LDFLAGS)
python_la_LIBADD = $(BUILD_WITH_PYTHON_LIBS)
collectd_LDADD += "-dlopen" python.la
collectd_DEPENDENCIES += target_set.la
endif
+if BUILD_PLUGIN_TARGET_V5UPGRADE
+pkglib_LTLIBRARIES += target_v5upgrade.la
+target_v5upgrade_la_SOURCES = target_v5upgrade.c
+target_v5upgrade_la_LDFLAGS = -module -avoid-version
+collectd_LDADD += "-dlopen" target_v5upgrade.la
+collectd_DEPENDENCIES += target_v5upgrade.la
+endif
+
if BUILD_PLUGIN_TCPCONNS
pkglib_LTLIBRARIES += tcpconns.la
tcpconns_la_SOURCES = tcpconns.c