Is there a way to tell PHP to not include some sources in CLI build?
PHP_NEW_EXTENSION( mymodule , mymodule.c , nocli) doesn't work as I expected - it
doesn't include extension in main/internal_functions_cli.c but it link mymodule.o
to sapi/cli/php.
regards,
Wojtek
Is there a way to tell PHP to not include some sources in CLI build?
PHP_NEW_EXTENSION( mymodule , mymodule.c , nocli) doesn't work as I expected - it
doesn't include extension in main/internal_functions_cli.c but it link mymodule.o
to sapi/cli/php.
attached patch helps :)
Would you be so kind and put it into CVS?
regards,
Wojtek
At 07:29 03.04.2003, Wojtek Meler wrote:
Is there a way to tell PHP to not include some sources in CLI build?
PHP_NEW_EXTENSION( mymodule , mymodule.c , nocli) doesn't work as I
expected - it
doesn't include extension in main/internal_functions_cli.c but it link
mymodule.o
to sapi/cli/php.attached patch helps :)
Would you be so kind and put it into CVS?
From simply looking at it i see at least that without a patch the file is
wrong.
(The patch is against the wrong file (correct would be acinclude.m4))
marcus