mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
fix
This commit is contained in:
parent
f8b0c2c980
commit
94644d374f
@ -62,20 +62,6 @@ EOF
|
|||||||
'export CPPFLAGS="$CPPFLAGS $INCLUDES -I$abs_srcdir/main"',
|
'export CPPFLAGS="$CPPFLAGS $INCLUDES -I$abs_srcdir/main"',
|
||||||
'export CPPFLAGS="$CPPFLAGS $INCLUDES"',
|
'export CPPFLAGS="$CPPFLAGS $INCLUDES"',
|
||||||
);
|
);
|
||||||
// add for in-tree building
|
|
||||||
FileSystem::replaceFileStr(
|
|
||||||
SOURCE_PATH . '/php-src/ext/memcache/php_memcache.h',
|
|
||||||
<<<'EOF'
|
|
||||||
#ifndef PHP_MEMCACHE_H
|
|
||||||
#define PHP_MEMCACHE_H
|
|
||||||
|
|
||||||
extern zend_module_entry memcache_module_entry;
|
|
||||||
#define phpext_memcache_ptr &memcache_module_entry
|
|
||||||
|
|
||||||
#endif
|
|
||||||
EOF,
|
|
||||||
''
|
|
||||||
);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user