Skip to contentSkip to conversation

mysql_client : Add /usr/lib/mysql directory in ld.so.conf file

PATCH New Fabien Marteau 2 participants 2 messages Feb 10, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mysql_client : Add /usr/lib/mysql directory in ld.so.conf file

Add /usr/lib/mysql directory in ld.so.conf file

---
 package/mysql_client/mysql_client.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
package/mysql_client/mysql_client.mk +5 -0
index ccf7a2c..9cd088c 100644
@@ -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))
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 mysql_client : Add /usr/lib/mysql directory in ld.so.conf file

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabien" == Fabien Marteau <[email protected]> writes:

Fabien> Add /usr/lib/mysql directory in ld.so.conf file Fabien> Signed-off-by: Fabien Marteau <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard