mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Autotools: Fix phpdbg build (#15373)
With 04a67cd86c
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.
This commit is contained in:
parent
10ed74e3c0
commit
65e96c1e5a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if test "$PHP_PHPDBG" != "no"; then
|
||||||
|
|
||||||
PHP_ADD_MAKEFILE_FRAGMENT([$abs_srcdir/sapi/phpdbg/Makefile.frag],
|
PHP_ADD_MAKEFILE_FRAGMENT([$abs_srcdir/sapi/phpdbg/Makefile.frag],
|
||||||
[$abs_srcdir/sapi/phpdbg],
|
[$abs_srcdir/sapi/phpdbg],
|
||||||
[$abs_builddir/sapi/phpdbg])
|
[sapi/phpdbg])
|
||||||
PHP_SELECT_SAPI([phpdbg],
|
PHP_SELECT_SAPI([phpdbg],
|
||||||
[program],
|
[program],
|
||||||
m4_normalize([
|
m4_normalize([
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue