mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
compatibility with RHEL 10?
This commit is contained in:
parent
cec5274ea3
commit
62a581393d
@ -363,6 +363,13 @@ class Extension
|
||||
'LIBS' => '-Wl,-Bstatic -Wl,--start-group ' . $staticLibString . ' -Wl,--end-group -Wl,-Bdynamic ' . $sharedLibString,
|
||||
'LD_LIBRARY_PATH' => BUILD_LIB_PATH,
|
||||
];
|
||||
|
||||
FileSystem::replaceFileRegex(
|
||||
$this->source_dir . '/config.m4',
|
||||
'/(\$PKG_CONFIG\s+[^\s]+)\s+--libs/',
|
||||
'$1 --static --libs'
|
||||
);
|
||||
|
||||
// prepare configure args
|
||||
shell()->cd($this->source_dir)
|
||||
->setEnv($env)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user