Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabien Marteau <fabien.marteau@armadeus.com>
To: buildroot@busybox.net
Subject: [Buildroot] [BUILDROOT][PATCH 1/1] mysql_client : Add /usr/lib/mysql directory in ld.so.conf file
Date: Thu, 10 Feb 2011 11:12:49 +0100	[thread overview]
Message-ID: <4D53BA21.1010905@armadeus.com> (raw)

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

             reply	other threads:[~2011-02-10 10:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 10:12 Fabien Marteau [this message]
2011-02-10 22:00 ` [Buildroot] [PATCH 1/1] mysql_client : Add /usr/lib/mysql directory in ld.so.conf file Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D53BA21.1010905@armadeus.com \
    --to=fabien.marteau@armadeus.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox