--with-pic and --enable-pic for other libraries that support them

This commit is contained in:
DubbleClick
2025-05-31 14:35:59 +07:00
parent 8767181a80
commit 2dbcbc6963
11 changed files with 16 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ class pdo_sqlsrv extends Extension
shell()->cd($this->source_dir)
->setEnv($env)
->execWithEnv(BUILD_BIN_PATH . '/phpize')
->execWithEnv('./configure ' . $this->getUnixConfigureArg(true) . ' --with-php-config=' . BUILD_BIN_PATH . '/php-config --enable-shared --disable-static')
->execWithEnv('./configure ' . $this->getUnixConfigureArg(true) . ' --with-php-config=' . BUILD_BIN_PATH . '/php-config --enable-shared --disable-static --with-pic')
->execWithEnv('make clean')
->execWithEnv('make -j' . $this->builder->concurrency)
->execWithEnv('make install');