mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
fix krb5 liburing (no --enable-shared option)
This commit is contained in:
parent
2511ee8a4c
commit
7e9e3fb4fe
@ -35,10 +35,13 @@ class liburing extends LinuxLibraryBase
|
||||
]);
|
||||
}
|
||||
|
||||
$shared = getenv('SPC_LINK_STATIC') ? 'ENABLE_SHARED=0' : 'ENABLE_SHARED=1';
|
||||
$make
|
||||
->removeConfigureArgs(
|
||||
'--disable-shared',
|
||||
'--enable-static',
|
||||
'--disable-static',
|
||||
'--enable-shared',
|
||||
'--disable-shared',
|
||||
'--with-pic',
|
||||
'--enable-pic',
|
||||
)
|
||||
@ -46,7 +49,7 @@ class liburing extends LinuxLibraryBase
|
||||
$use_libc ? '--use-libc' : '',
|
||||
)
|
||||
->configure()
|
||||
->make('library ENABLE_SHARED=0', 'install ENABLE_SHARED=0', with_clean: false);
|
||||
->make("library {$shared}", "install {$shared}", with_clean: false);
|
||||
|
||||
$this->patchPkgconfPrefix();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user