mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
use local phpcpp build
This commit is contained in:
parent
9dafbb7b12
commit
bd6b544c76
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,9 @@ sed -i "/EXTENSION_DIR = /c\
|
||||||
sed -i "/INI_DIR = /c\
|
sed -i "/INI_DIR = /c\
|
||||||
INI_DIR = /dev/null" "$DIR_PHP_GTK_SOURCE/Makefile"
|
INI_DIR = /dev/null" "$DIR_PHP_GTK_SOURCE/Makefile"
|
||||||
|
|
||||||
|
## Use local builds
|
||||||
|
sed -i "s|-lphpcpp|-Wl,-rpath=\"$DIR_PHP_CPP_TARGET/lib\" -lphpcpp|g" "$DIR_PHP_GTK_SOURCE/Makefile"
|
||||||
|
|
||||||
## Force build for new installation
|
## Force build for new installation
|
||||||
if [ ! -f "$("$DIR_PHP_SRC_TARGET/bin/php-config" --extension-dir)/php-gtk3.so" ]; then BUILD_PHP_GTK="y"
|
if [ ! -f "$("$DIR_PHP_SRC_TARGET/bin/php-config" --extension-dir)/php-gtk3.so" ]; then BUILD_PHP_GTK="y"
|
||||||
else # or ask for re-build
|
else # or ask for re-build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue