Skip to content

Commit 3f9f256

Browse files
committed
fix env variable
1 parent c2e3858 commit 3f9f256

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-static.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ for pkg in ${SPC_OPT_INSTALL_ARGS}; do
202202
done
203203
# shellcheck disable=SC2086
204204
${spcCommand} download --with-php="${PHP_VERSION}" --for-extensions="${PHP_EXTENSIONS}" --for-libs="${PHP_EXTENSION_LIBS}" ${SPC_OPT_DOWNLOAD_ARGS}
205+
export FRANKENPHP_SOURCE_PATH="${CURRENT_DIR}"
205206
# 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}"
207+
${spcCommand} build --enable-zts --build-embed --build-frankenphp ${SPC_OPT_BUILD_ARGS} "${PHP_EXTENSIONS}" --with-libs="${PHP_EXTENSION_LIBS}"
207208

208209
cd ../..
209210

0 commit comments

Comments
 (0)