Merge branch 'PHP-8.1'

* PHP-8.1:
  [ci skip] news
  Fix GH-8059 use $PHP_EXECUTABLE when $PHP not set
This commit is contained in:
Remi Collet 2022-02-08 13:54:58 +01:00
commit 05023a281d
No known key found for this signature in database
GPG Key ID: DC9FF8D3EE5AF27F

View File

@ -149,6 +149,9 @@ prof-use:
if test ! -z "$(PHP)"; then \
echo Parse $< to generate $@;\
$(PHP) $(top_srcdir)/build/gen_stub.php $<; \
elif test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
echo Parse $< to generate $@;\
$(PHP_EXECUTABLE) $(top_srcdir)/build/gen_stub.php $<; \
fi; \
fi;