From: Nikita Popov Date: Tue, 3 Sep 2019 09:38:02 +0000 (+0200) Subject: Fix gen_stubs with out-of-tree build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24d8cbce54b1d8e193ad05227f3106783bcf3968;p=php Fix gen_stubs with out-of-tree build We need to prefix with $(top_srcdir). --- diff --git a/build/Makefile.global b/build/Makefile.global index 7ae398e314..c5d21bf32b 100644 --- a/build/Makefile.global +++ b/build/Makefile.global @@ -143,7 +143,7 @@ prof-use: CCACHE_DISABLE=1 $(MAKE) PROF_FLAGS=-fprofile-use all %_arginfo.h: %.stub.php - if type php >/dev/null 2>/dev/null; then php scripts/dev/gen_stub.php $<; fi + if type php >/dev/null 2>/dev/null; then php $(top_srcdir)/scripts/dev/gen_stub.php $<; fi # As we don't track includes, this is just a heuristic %.c: %_arginfo.h