summaryrefslogtreecommitdiff
path: root/www/php3-mysql
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-05-25 08:15:28 +0000
committerrh <rh@pkgsrc.org>2000-05-25 08:15:28 +0000
commit16cdbd813ca8f9bcd539ab141787a246240c5875 (patch)
treec62a89e4dea21959897bafeccfe7a5366aef38c3 /www/php3-mysql
parent9f0a9daea874a34cf5e185c46ff4ff0d8c488230 (diff)
downloadpkgsrc-16cdbd813ca8f9bcd539ab141787a246240c5875.tar.gz
Link with math library to avoid missing symbol lossage. Fixes PR 10012 by
Andrew Gillham.
Diffstat (limited to 'www/php3-mysql')
-rw-r--r--www/php3-mysql/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/php3-mysql/Makefile b/www/php3-mysql/Makefile
index 553b0e3080b..bf5859319a8 100644
--- a/www/php3-mysql/Makefile
+++ b/www/php3-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/02/15 05:54:20 bad Exp $
+# $NetBSD: Makefile,v 1.6 2000/05/25 08:15:28 rh Exp $
#
PKGNAME= php-mysql-${PHP_VERSION}
@@ -12,7 +12,7 @@ BUILDING_EXTENSION_MODULE=yes
do-build:
cd ${WRKSRC}/functions && \
${COMPILE.c} -I.. -I. -I${LOCALBASE}/include/mysql -fPIC -DPIC -DCOMPILE_DL mysql.c && \
- ld -Bshareable -o mysql.so mysql.o -L${LOCALBASE}/lib/mysql -R${LOCALBASE}/lib/mysql -lmysqlclient
+ ld -Bshareable -o mysql.so mysql.o -L${LOCALBASE}/lib/mysql -R${LOCALBASE}/lib/mysql -lmysqlclient -lm
do-install:
${INSTALL_DATA} ${WRKSRC}/functions/mysql.so ${PREFIX}/lib/php3/