mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
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.
This commit is contained in:
parent
f0a4cc2d80
commit
f89d6a046f
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ launcher_command="/usr/local/bin/php -a"
|
||||||
launcher_run_in_terminal="true"
|
launcher_run_in_terminal="true"
|
||||||
icon_file="win32/build/php.ico"
|
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 LIBS='-ldl'
|
||||||
export LIBXML_CFLAGS='y'
|
export LIBXML_CFLAGS='y'
|
||||||
export LIBXML_LIBS='-lxml2'
|
export LIBXML_LIBS='-lxml2'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue