Skip to content

Commit

Permalink
Fix GH-8059 use $PHP_EXECUTABLE when $PHP not set
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Feb 8, 2022
1 parent c7558e2 commit 3b46374
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/Makefile.global
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,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;

Expand Down

0 comments on commit 3b46374

Please sign in to comment.