link against static mysqlclient libs

PR:		26675
Submitted by:	Michael Harnois <mdharnois@home.com>
Approved by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2001-05-24 12:07:41 +00:00
parent 10b228db3a
commit f05b70445b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43005

View File

@ -89,9 +89,9 @@ while [ "$1" ]; do
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -ldb3"
;;
\"MySQL\")
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.so:\${PORTSDIR}/databases/mysql323-client"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a:\${PORTSDIR}/databases/mysql323-client"
echo "POSTFIX_CCARGS+= -DHAS_MYSQL -I\${LOCALBASE}/include/mysql"
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib/mysql -lmysqlclient -lm -lz"
echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/mysql/libmysqlclient.a -lm -lz"
;;
\"OpenLDAP\")
echo "CONF2+= sample-ldap.cf"