From 2638a00508353294cb56f2c2f3f997b312d0e2b4 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 26 Jul 2024 02:42:41 +0300 Subject: [PATCH] prevent LINKER_DEPENDENCIES replace on update --- INSTALL.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.sh b/INSTALL.sh index 916c1aa..96c708e 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -207,7 +207,7 @@ sed -i "/INI_DIR = /c\ 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" +sed -i "s|LINKER_DEPENDENCIES = -lphpcpp|LINKER_DEPENDENCIES = -Wl,-rpath=\"$DIR_PHP_CPP_TARGET/lib\" -lphpcpp|g" "$DIR_PHP_GTK_SOURCE/Makefile" ## Force build for new installation if [ ! -f "$("$DIR_PHP_SRC_TARGET/bin/php-config" --extension-dir)/php-gtk3.so" ]; then BUILD_PHP_GTK="y"