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

@@ -37,7 +37,7 @@ trait libacl
])
->execWithEnv('libtoolize --force --copy')
->execWithEnv('./autogen.sh || autoreconf -if')
->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-tests --disable-nls')
->execWithEnv('./configure --prefix= --enable-static --disable-shared --disable-tests --disable-nls --with-pic')
->execWithEnv("make -j {$this->builder->concurrency}")
->exec('make install DESTDIR=' . BUILD_ROOT_PATH);