summaryrefslogtreecommitdiff
path: root/databases/mysql-client
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-08 23:00:51 +0000
committerjlam <jlam@pkgsrc.org>2002-10-08 23:00:51 +0000
commitd325247d0b154c988dd11a99fc41f1c4dbf059bb (patch)
tree26c3cb776b31609e8f5d544cdd24e047112cb15f /databases/mysql-client
parent1d480d643c7a92ab3b03eada969416c4928d7aae (diff)
downloadpkgsrc-d325247d0b154c988dd11a99fc41f1c4dbf059bb.tar.gz
Create a BUILDLINK_LDFLAGS variable for mysql-client due to odd library
location.
Diffstat (limited to 'databases/mysql-client')
-rw-r--r--databases/mysql-client/buildlink2.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/mysql-client/buildlink2.mk b/databases/mysql-client/buildlink2.mk
index 726d97b623c..2a09de05701 100644
--- a/databases/mysql-client/buildlink2.mk
+++ b/databases/mysql-client/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:22 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/10/08 23:00:51 jlam Exp $
.if !defined(MYSQL_CLIENT_BUILDLINK2_MK)
MYSQL_CLIENT_BUILDLINK2_MK= # defined
@@ -12,6 +12,10 @@ BUILDLINK_PREFIX.mysql-client_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.mysql-client= include/mysql/*.h
BUILDLINK_FILES.mysql-client+= lib/mysql/libmysqlclient.*
+BUILDLINK_LDFLAGS.mysql-client= \
+ -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \
+ -Wl,-R${BUILDLINK_PREFIX.mysql-client}/lib/mysql
+
.include "../../devel/zlib/buildlink2.mk"
BUILDLINK_TARGETS+= mysql-client-buildlink