From 16cdbd813ca8f9bcd539ab141787a246240c5875 Mon Sep 17 00:00:00 2001 From: rh Date: Thu, 25 May 2000 08:15:28 +0000 Subject: Link with math library to avoid missing symbol lossage. Fixes PR 10012 by Andrew Gillham. --- www/php3-mysql/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/php3-mysql') 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/ -- cgit v1.2.3