[php-src] PR #15373: Autotools: Fix phpdbg build

From: Date: Tue, 13 Aug 2024 03:04:54 +0000
Subject: [php-src] PR #15373: Autotools: Fix phpdbg build
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-27898@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15373 Author: petk With 04a67cd86c6b18f04b7f359b2dd3f4daeb6583ac the list of source files are now added alphabetically. Previously the phpdbg_parser.c was added before the phpdbg_lexer.c. Which caused the "sapi/phpdbg/phpdbg_lexer.l:8:10: fatal error: 'phpdbg_parser.h' file not found" error. To make the order of source files irrelevant, the Makefile substitutions needs to be fixed - the 3rd argument of PHP_ADD_MAKEFILE_FRAGMENT macro, which is the substitution of the $(builddir) Make variable. The $(builddir)/phpdbg_lexer.lo was previously substituted to an absolute path. And the relative should be used, for Make to be able to find the dependent target. Fixes https://github.com/SjonHortensius/3v4l_org/issues/22

« previous php.git-pulls (#27898) next »