File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ CURRENT_DIR=$(pwd)
1212
1313arch=" $( uname -m) "
1414os=" $( uname -s | tr ' [:upper:]' ' [:lower:]' ) "
15+ [ " $os " = " darwin" ] && os=" mac"
1516
1617# Supported variables:
1718# - PHP_VERSION: PHP version to build (default: "8.4")
@@ -202,8 +203,9 @@ for pkg in ${SPC_OPT_INSTALL_ARGS}; do
202203done
203204# shellcheck disable=SC2086
204205${spcCommand} download --with-php=" ${PHP_VERSION} " --for-extensions=" ${PHP_EXTENSIONS} " --for-libs=" ${PHP_EXTENSION_LIBS} " ${SPC_OPT_DOWNLOAD_ARGS}
206+ export FRANKENPHP_SOURCE_PATH=" ${CURRENT_DIR} "
205207# shellcheck disable=SC2086
206- FRANKENPHP_SOURCE_DIR= ${CURRENT_DIR} ${spcCommand} build --enable-zts --build-embed --build-frankenphp ${SPC_OPT_BUILD_ARGS} " ${PHP_EXTENSIONS} " --with-libs=" ${PHP_EXTENSION_LIBS} "
208+ ${spcCommand} build --enable-zts --build-embed --build-frankenphp ${SPC_OPT_BUILD_ARGS} " ${PHP_EXTENSIONS} " --with-libs=" ${PHP_EXTENSION_LIBS} "
207209
208210cd ../..
209211
You can’t perform that action at this time.
0 commit comments