You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2008/05/20 23:36:42 UTC
svn commit: r658445 - /apr/apr-util/branches/1.3.x/build/dbd.m4
Author: bojan
Date: Tue May 20 14:36:41 2008
New Revision: 658445
URL: http://svn.apache.org/viewvc?rev=658445&view=rev
Log:
Backport r658444 from the trunk.
Make sure MySQL library is always included, even when mysql_LDFLAGS is empty.
Modified:
apr/apr-util/branches/1.3.x/build/dbd.m4
Modified: apr/apr-util/branches/1.3.x/build/dbd.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/build/dbd.m4?rev=658445&r1=658444&r2=658445&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/build/dbd.m4 (original)
+++ apr/apr-util/branches/1.3.x/build/dbd.m4 Tue May 20 14:36:41 2008
@@ -160,7 +160,7 @@
dnl Since we have already done the AC_CHECK_LIB tests, if we have it,
dnl we know the library is there.
if test "$apu_have_mysql" = "1"; then
- LDADD_dbd_mysql=$mysql_LDFLAGS
+ LDADD_dbd_mysql="$mysql_LDFLAGS -lmysqlclient_r"
fi
AC_SUBST(LDADD_dbd_mysql)