X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=config.m4;h=ade6f45b52f415348c42f4063fcf69bf5e2aece1;hp=16db302f21bdd7de505561fdc6e9f4bc26456a1f;hb=6a459a08a40a2c243b0211ceb0cb263d29302627;hpb=52815a5aac85e8c69ffba76c25a51de3b6ae1365 diff --git a/config.m4 b/config.m4 index 16db302..ade6f45 100644 --- a/config.m4 +++ b/config.m4 @@ -105,10 +105,11 @@ if test "$PHP_PSI" != no; then PHP_ADD_BUILD_DIR($PHP_PSI_BUILDDIR/src) PHP_PSI_HEADERS=`(cd $PHP_PSI_SRCDIR/src && echo *.h)` - PHP_PSI_SOURCES=`(cd $PHP_PSI_SRCDIR && echo src/context*.c)` + PHP_PSI_SOURCES= # parser* should come first PHP_PSI_SOURCES="$PHP_PSI_SOURCES src/parser_proc.c src/parser.c" PHP_PSI_SOURCES="$PHP_PSI_SOURCES src/libjit.c src/libffi.c src/engine.c" PHP_PSI_SOURCES="$PHP_PSI_SOURCES src/marshal.c src/calc.c src/module.c" + PHP_PSI_SOURCES="$PHP_PSI_SOURCES `(cd $PHP_PSI_SRCDIR && echo src/context*.c)`" PHP_NEW_EXTENSION(psi, $PHP_PSI_SOURCES, $ext_shared) PHP_INSTALL_HEADERS(ext/psi, php_psi.h $PHP_PSI_HEADERS)