[php-src] Issue #8434: can't build tokenizer.so cause make fail
| From: | cmb69 | Date: | Mon, 25 Apr 2022 10:14:08 +0000 |
| Subject: | [php-src] Issue #8434: can't build tokenizer.so cause make fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241222@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8434
Comment Author: cmb69
So you're suggesting to apply:
````diff
ext/tokenizer/Makefile.frag | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/tokenizer/Makefile.frag b/ext/tokenizer/Makefile.frag
index 745cbfce91..21b9349a51 100644
--- a/ext/tokenizer/Makefile.frag
+++ b/ext/tokenizer/Makefile.frag
@@ -1,4 +1,4 @@
-$(top_srcdir)/ext/tokenizer/tokenizer_data.c: $(top_srcdir)/Zend/zend_language_parser.y
+$(top_srcdir)/ext/tokenizer/tokenizer_data.c: $(top_srcdir)/Zend/zend_language_parser.h
@if test ! -z "$(PHP)"; then \
$(PHP) $(srcdir)/tokenizer_data_gen.php; \
fi;
````
That [doesn't look
right](https://github.com/php/php-src/commit/265dd19d63c79a48474b99d382294fc6604735f8). Actually, I
doubt that it makes sense to support building ext/tokenizer via phpize. In my opinion, this is a
WONTFIX.