Skip to content

Commit

Permalink
Allow pecl like usage in ext/phar, closes #2955
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Jan 15, 2018
1 parent 2023346 commit 2d4fb56
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ext/phar/Makefile.frag
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
$(srcdir)/phar_path_check.c: $(srcdir)/phar_path_check.re
@(cd $(top_srcdir); $(RE2C) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re)
@(cd $(top_srcdir); \
if test -f ./php_phar.h; then \
$(RE2C) --no-generation-date -b -o phar_path_check.c phar_path_check.re; \
else \
$(RE2C) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re; \
fi)

pharcmd: $(builddir)/phar.php $(builddir)/phar.phar

Expand Down

0 comments on commit 2d4fb56

Please sign in to comment.