mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
add nmakefile fragment for pdo parser
This commit is contained in:
parent
797e119682
commit
3fc1ec22ea
5
ext/pdo/Makefile.frag.w32
Normal file
5
ext/pdo/Makefile.frag.w32
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
ext\pdo\pdo_sql_parser.c: ext\pdo\pdo_sql_parser.re
|
||||
cd $(PHP_SRC_DIR)
|
||||
$(RE2C) --no-generation-date -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re
|
||||
|
@ -6,5 +6,6 @@ ARG_ENABLE("pdo", "Enable PHP Data Objects support", "no");
|
||||
if (PHP_PDO != "no") {
|
||||
EXTENSION('pdo', 'pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c', false /* force static, PHP_PDO_SHARED is broken yet somehow */);
|
||||
ADD_EXTENSION_DEP('pdo', 'spl', true);
|
||||
ADD_MAKEFILE_FRAGMENT();
|
||||
PHP_INSTALL_HEADERS("ext/pdo", "php_pdo.h php_pdo_driver.h php_pdo_error.h");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user