add gmp extension for macOS

This commit is contained in:
crazywhalecc
2023-03-18 18:46:10 +08:00
parent b87a633496
commit cfa89e3003
5 changed files with 67 additions and 1 deletions

View File

@@ -182,6 +182,9 @@ class Extension
$arg .= ' --with-event-openssl --with-openssl-dir="' . BUILD_ROOT_PATH . '"';
}
break;*/
case 'gmp':
$arg = ' --with-gmp="' . BUILD_ROOT_PATH . '" ';
break;
case 'sqlite3':
$arg = ' --with-sqlite3="' . BUILD_ROOT_PATH . '" ' .
'SQLITE_CFLAGS=-I"' . BUILD_INCLUDE_PATH . '" ' .