mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 16:25:39 +08:00
--with-pic and --enable-pic for other libraries that support them
This commit is contained in:
@@ -14,7 +14,7 @@ trait sqlite
|
||||
'LDFLAGS' => $this->getLibExtraLdFlags(),
|
||||
'LIBS' => $this->getLibExtraLibs(),
|
||||
])
|
||||
->execWithEnv('./configure --enable-static --disable-shared --prefix=')
|
||||
->execWithEnv('./configure --enable-static --disable-shared --with-pic --prefix=')
|
||||
->execWithEnv('make clean')
|
||||
->execWithEnv("make -j{$this->builder->concurrency}")
|
||||
->execWithEnv('make install DESTDIR=' . BUILD_ROOT_PATH);
|
||||
|
||||
Reference in New Issue
Block a user