src/Makefile: Don't unnecessarily set plugin specific CXXFLAGS.
[collectd.git] / Makefile.am
index 35f24cb..c63893f 100644 (file)
@@ -1,6 +1,12 @@
 ACLOCAL_AMFLAGS = -I libltdl/m4
 
-SUBDIRS = libltdl src bindings .
+SUBDIRS =
+
+if BUILD_INCLUDED_LTDL
+SUBDIRS += libltdl
+endif
+
+SUBDIRS += proto src bindings .
 
 AM_CPPFLAGS = $(LTDLINCL)