--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

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