We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2023346 commit 2d4fb56Copy full SHA for 2d4fb56
ext/phar/Makefile.frag
@@ -1,5 +1,10 @@
1
$(srcdir)/phar_path_check.c: $(srcdir)/phar_path_check.re
2
- @(cd $(top_srcdir); $(RE2C) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re)
+ @(cd $(top_srcdir); \
3
+ if test -f ./php_phar.h; then \
4
+ $(RE2C) --no-generation-date -b -o phar_path_check.c phar_path_check.re; \
5
+ else \
6
+ $(RE2C) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re; \
7
+ fi)
8
9
pharcmd: $(builddir)/phar.php $(builddir)/phar.phar
10
0 commit comments