aboutsummaryrefslogtreecommitdiffstats
path: root/package/mysql_client
diff options
context:
space:
mode:
authorFabien Marteau <fabien.marteau@armadeus.com>2011-02-10 11:12:49 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-10 22:59:48 +0100
commitb18d0e9d32e0129789bae5696d1257efa3cb27f8 (patch)
tree873576bb20884d902cbd0322ea7eebb25eecfd18 /package/mysql_client
parenta74b4044b00b19055474c3d3dc2c069fc26a38c0 (diff)
downloadbuildroot-novena-b18d0e9d32e0129789bae5696d1257efa3cb27f8.tar.gz
buildroot-novena-b18d0e9d32e0129789bae5696d1257efa3cb27f8.zip
mysql_client : Add /usr/lib/mysql directory in ld.so.conf file
Add /usr/lib/mysql directory in ld.so.conf file Signed-off-by: Fabien Marteau <fabien.marteau@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mysql_client')
-rw-r--r--package/mysql_client/mysql_client.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/mysql_client/mysql_client.mk b/package/mysql_client/mysql_client.mk
index ccf7a2c89..9cd088cc8 100644
--- a/package/mysql_client/mysql_client.mk
+++ b/package/mysql_client/mysql_client.mk
@@ -36,6 +36,11 @@ define MYSQL_CLIENT_REMOVE_TEST_PROGS
rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench
endef
+define MYSQL_CLIENT_ADD_MYSQL_LIB_PATH
+ echo "/usr/lib/mysql" >> $(TARGET_DIR)/etc/ld.so.conf
+endef
+
MYSQL_CLIENT_POST_INSTALL_TARGET_HOOKS += MYSQL_CLIENT_REMOVE_TEST_PROGS
+MYSQL_CLIENT_POST_INSTALL_TARGET_HOOKS += MYSQL_CLIENT_ADD_MYSQL_LIB_PATH
$(eval $(call AUTOTARGETS,package,mysql_client))