Skip to content

Commit 05023a2

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: [ci skip] news Fix GH-8059 use $PHP_EXECUTABLE when $PHP not set
2 parents 68a51e3 + c03e111 commit 05023a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/Makefile.global

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ prof-use:
149149
if test ! -z "$(PHP)"; then \
150150
echo Parse $< to generate $@;\
151151
$(PHP) $(top_srcdir)/build/gen_stub.php $<; \
152+
elif test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
153+
echo Parse $< to generate $@;\
154+
$(PHP_EXECUTABLE) $(top_srcdir)/build/gen_stub.php $<; \
152155
fi; \
153156
fi;
154157

0 commit comments

Comments
 (0)