summaryrefslogtreecommitdiff
path: root/Ports/php
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2022-11-24 11:25:52 +0100
committerLinus Groh <mail@linusgroh.de>2022-11-24 10:52:10 +0000
commitf89d6a046f1d281a94f72d0e2386520d2a4bf292 (patch)
tree12209af8c201290bcd0967c92fe27859126efe54 /Ports/php
parentf0a4cc2d801174c50877f6385aa5c6b324509b74 (diff)
downloadserenity-f89d6a046f1d281a94f72d0e2386520d2a4bf292.zip
Ports: Configure LibCrypt include path for PHP
Since ac40197047 LibCrypt has its own library. PHP tries to detect the `crypt_data` struct but fails to do so since it cannot find `crypt.h`. By adding this explicit include path, PHP builds again.
Diffstat (limited to 'Ports/php')
-rwxr-xr-xPorts/php/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/php/package.sh b/Ports/php/package.sh
index 645d07d489..747084e67c 100755
--- a/Ports/php/package.sh
+++ b/Ports/php/package.sh
@@ -22,7 +22,7 @@ launcher_command="/usr/local/bin/php -a"
launcher_run_in_terminal="true"
icon_file="win32/build/php.ico"
-export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2"
+export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/include/LibCrypt -I${SERENITY_INSTALL_ROOT}/usr/local/include/libxml2"
export LIBS='-ldl'
export LIBXML_CFLAGS='y'
export LIBXML_LIBS='-lxml2'