Browse Source

php: make it happy with latest mysql 5.5.8

user/chris/test/early-mdev
Aldas Nabazas 14 years ago
parent
commit
0b2ded1490
  1. 5
      develop/php/php.conf

5
develop/php/php.conf

@ -49,14 +49,13 @@ if pkginstalled mysql; then
if [ $? -eq 0 -o "$SDECFG_PKG_PHP_FORCESHARED" = 1 ]; then if [ $? -eq 0 -o "$SDECFG_PKG_PHP_FORCESHARED" = 1 ]; then
pkg_php_shared="=$root/$( pkgprefix mysql )" pkg_php_shared="=$root/$( pkgprefix mysql )"
var_append CC_WRAPPER_APPEND ' ' "-Wl,--rpath $( pkgprefix libdir mysql )/mysql" var_append CC_WRAPPER_APPEND ' ' "-Wl,--rpath $( pkgprefix libdir mysql )"
else else
pkg_php_shared= pkg_php_shared=
fi fi
var_append extraconfopt " " "--with-mysql$pkg_php_shared" var_append extraconfopt " " "--with-mysql$pkg_php_shared"
var_append extraconfopt " " "--enable-mysqli" var_append extraconfopt " " "--with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd"
var_append extraconfopt " " "--with-mysqli=$( pkgprefix bindir mysql )/mysql_config"
fi fi
if pkginstalled postgresql; then if pkginstalled postgresql; then

Loading…
Cancel
Save