[Buildroot] [PATCH v1] collectd: fix postgresql library detection
thomas.petazzoni at free-electrons.com
Tue Mar 17 21:58:08 UTC 2015
Dear Peter Seiderer,
On Tue, 17 Mar 2015 22:44:05 +0100, Peter Seiderer wrote:
> ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
> COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config
> + COLLECTD_CONF_ENV = LIBS="-lpthread -lm"
If they are needed, why isn't pg_config returning those linker flags?
I'm sorry to be annoying, but I really don't like adding LIBS variables
all over the place, because they tend to become wrong/unneeded, and we
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot