Skip to content

Commit 24d8cbc

Browse files
committed
Fix gen_stubs with out-of-tree build
We need to prefix with $(top_srcdir).
1 parent 597a5da commit 24d8cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Makefile.global

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ prof-use:
143143
CCACHE_DISABLE=1 $(MAKE) PROF_FLAGS=-fprofile-use all
144144

145145
%_arginfo.h: %.stub.php
146-
if type php >/dev/null 2>/dev/null; then php scripts/dev/gen_stub.php $<; fi
146+
if type php >/dev/null 2>/dev/null; then php $(top_srcdir)/scripts/dev/gen_stub.php $<; fi
147147

148148
# As we don't track includes, this is just a heuristic
149149
%.c: %_arginfo.h

0 commit comments

Comments
 (0)