This commit is contained in:
henderkes 2026-01-03 19:12:16 +01:00
parent f8b0c2c980
commit 94644d374f

View File

@ -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;
} }