summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-06-04 13:01:54 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-04 13:03:13 +0200
commit977addf76d181ec4c5369930fb7313dc706d27cd (patch)
tree867e9045e407ed37d2c98954b92ce31489e2b645
parent6a9dc5562db9e6b0c519f9e7439e6964b326c419 (diff)
downloadserenity-977addf76d181ec4c5369930fb7313dc706d27cd.zip
Ports/PHP: Enable SQLite3 and iconv extensions
-rwxr-xr-xPorts/php/package.sh8
1 files changed, 4 insertions, 4 deletions
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"