From b18d0e9d32e0129789bae5696d1257efa3cb27f8 Mon Sep 17 00:00:00 2001 From: Fabien Marteau Date: Thu, 10 Feb 2011 11:12:49 +0100 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/mysql_client/mysql_client.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/mysql_client/mysql_client.mk b/package/mysql_client/mysql_client.mk index ccf7a2c89c..9cd088cc88 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)) -- 2.30.2