Skip to content

Commit

Permalink
Allow pecl like usage in ext/pdo, refs #2955
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon authored and weltling committed May 21, 2018
1 parent 83626ef commit bc6ddb7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ext/pdo/Makefile.frag
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ PDO_HEADER_FILES= \


$(srcdir)/pdo_sql_parser.c: $(srcdir)/pdo_sql_parser.re
(cd $(top_srcdir); $(RE2C) --no-generation-date -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re)
@(cd $(top_srcdir); \
if test -f ./pdo_sql_parser.re; then \
$(RE2C) --no-generation-date -o pdo_sql_parser.c pdo_sql_parser.re; \
else \
$(RE2C) --no-generation-date -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re; \
fi)

install-pdo-headers:
@echo "Installing PDO headers: $(INSTALL_ROOT)$(phpincludedir)/ext/pdo/"
Expand Down

0 comments on commit bc6ddb7

Please sign in to comment.