diff --git a/src/SPC/builder/unix/library/pkgconfig.php b/src/SPC/builder/unix/library/pkgconfig.php index 52ec5e4d..18e9b4b9 100644 --- a/src/SPC/builder/unix/library/pkgconfig.php +++ b/src/SPC/builder/unix/library/pkgconfig.php @@ -21,6 +21,8 @@ trait pkgconfig '--disable-shared ' . '--enable-static ' . '--with-internal-glib ' . + '--disable-host-tool ' . + '--with-pic ' . '--prefix=' . BUILD_ROOT_PATH . ' ' . '--without-sysroot ' . '--without-system-include-path ' . @@ -29,6 +31,7 @@ trait pkgconfig ) ->exec('make clean') ->exec("make -j{$this->builder->concurrency}") - ->exec('make install'); + ->exec('make install-exec'); + shell()->exec('strip ' . BUILD_ROOT_PATH . '/bin/pkg-config'); } }