Fixes autobuild failures such as the following.
http://autobuild.buildroot.net/results/
1bdb5e014daf76b701afea5c82ac83ac4c97d4cb/
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y)
SCONESERVER_DEPENDENCIES += mysql_client
SCONESERVER_CONF_OPT += --with-mysql \
- --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config"
+ --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \
+ LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql"
else
SCONESERVER_CONF_OPT += --without-mysql
endif