collectd: disallow for static-only builds
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Jul 2014 14:29:57 +0000 (16:29 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 19 Jul 2014 14:29:57 +0000 (16:29 +0200)
commit9960b957a63e8fdd197d9cef6ea55b1b05c40ec3
tree539d3df4dd0a0956cc532e2f3a376d08ba4a4600
parent1aa42ad4aed013c03d1e17f4cfe2ace2194f423d
collectd: disallow for static-only builds

collectd doesn't really support static-only builds: each plugin
defines a module_register() function, and plugins are supposed to be
dynamically loaded.

Also, passing -lm in LIBS makes more sense than LDFLAGS, as it is
passed at the end of the build command line.

Fixes:

  http://autobuild.buildroot.org/results/047/047dc20aba46885679b6d21cdd2d77fc252374b6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/collectd/Config.in
package/collectd/collectd.mk