mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Fix pkg-config missing option
This commit is contained in:
parent
779c7cec30
commit
9c4a6b46b6
@ -39,7 +39,7 @@ class PkgConfigUtil
|
||||
$libs = explode(' ', trim($result));
|
||||
|
||||
// get other things
|
||||
$result = self::execWithResult("pkg-config --libs --libs-only-other {$pkg_config_str}");
|
||||
$result = self::execWithResult("pkg-config --static --libs --libs-only-other {$pkg_config_str}");
|
||||
// convert libxxx.a to -L{path} -lxxx
|
||||
$exp = explode(' ', trim($result));
|
||||
foreach ($exp as $item) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user