diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag index e58795deea81c..8047eb5af4109 100644 --- a/ext/phar/Makefile.frag +++ b/ext/phar/Makefile.frag @@ -1,5 +1,5 @@ $(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); $(RE2C) --no-generation-date -b -o $(srcdir)/phar_path_check.c $(srcdir)/phar_path_check.re) pharcmd: $(builddir)/phar.php $(builddir)/phar.phar