add macos external extension support

This commit is contained in:
crazywhalecc
2023-05-10 21:59:33 +08:00
parent b7f64e46c2
commit 09f1574264
6 changed files with 26 additions and 19 deletions

View File

@@ -12,7 +12,6 @@ class ffi extends Extension
{
public function getUnixConfigureArg(): string
{
return '--with-ffi FFI_CFLAGS=-I"' . BUILD_INCLUDE_PATH . '" ' .
'FFI_LIBS="' . $this->getLibFilesString() . '"';
return '--with-ffi --enable-zend-signals';
}
}