diff --git a/Ports/php/package.sh b/Ports/php/package.sh index 167c49bde1..c4ab945fc6 100755 --- a/Ports/php/package.sh +++ b/Ports/php/package.sh @@ -4,7 +4,7 @@ useconfigure="true" version="8.0.6" files="https://www.php.net/distributions/php-${version}.tar.xz php-${version}.tar.xz e9871d3b6c391fe9e89f86f6334852dcc10eeaaa8d5565beb8436e7f0cf30e20" auth_type=sha256 -depends="" +depends="libiconv sqlite" configopts=" --disable-dom --disable-opcache @@ -14,10 +14,10 @@ configopts=" --disable-xmlreader --disable-xmlwriter --prefix=${SERENITY_INSTALL_ROOT}/usr/local - --without-iconv + --with-iconv=${SERENITY_INSTALL_ROOT}/usr/local --without-libxml - --without-pdo-sqlite - --without-sqlite3 " export LIBS="-ldl" +export SQLITE_CFLAGS="y" +export SQLITE_LIBS="-lsqlite3 -lpthread"