Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [BUILDROOT][PATCH 1/1] mysql_client : Add /usr/lib/mysql directory in ld.so.conf file
@ 2011-02-10 10:12 Fabien Marteau
  2011-02-10 22:00 ` [Buildroot] [PATCH " Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fabien Marteau @ 2011-02-10 10:12 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Fabien Marteau <fabien.marteau@armadeus.com>
---
 package/mysql_client/mysql_client.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/package/mysql_client/mysql_client.mk b/package/mysql_client/mysql_client.mk
index ccf7a2c..9cd088c 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))
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-10 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-10 10:12 [Buildroot] [BUILDROOT][PATCH 1/1] mysql_client : Add /usr/lib/mysql directory in ld.so.conf file Fabien Marteau
2011-02-10 22:00 ` [Buildroot] [PATCH " Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox