|
|
|
@ -49,14 +49,13 @@ if pkginstalled mysql; then
|
|
|
|
|
|
|
|
|
|
if [ $? -eq 0 -o "$SDECFG_PKG_PHP_FORCESHARED" = 1 ]; then |
|
|
|
|
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 |
|
|
|
|
pkg_php_shared= |
|
|
|
|
fi |
|
|
|
|
var_append extraconfopt " " "--with-mysql$pkg_php_shared" |
|
|
|
|
|
|
|
|
|
var_append extraconfopt " " "--enable-mysqli" |
|
|
|
|
var_append extraconfopt " " "--with-mysqli=$( pkgprefix bindir mysql )/mysql_config" |
|
|
|
|
var_append extraconfopt " " "--with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if pkginstalled postgresql; then |
|
|
|
|