mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +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
|
$make
|
||||||
->removeConfigureArgs(
|
->removeConfigureArgs(
|
||||||
'--disable-shared',
|
|
||||||
'--enable-static',
|
'--enable-static',
|
||||||
|
'--disable-static',
|
||||||
|
'--enable-shared',
|
||||||
|
'--disable-shared',
|
||||||
'--with-pic',
|
'--with-pic',
|
||||||
'--enable-pic',
|
'--enable-pic',
|
||||||
)
|
)
|
||||||
@ -46,7 +49,7 @@ class liburing extends LinuxLibraryBase
|
|||||||
$use_libc ? '--use-libc' : '',
|
$use_libc ? '--use-libc' : '',
|
||||||
)
|
)
|
||||||
->configure()
|
->configure()
|
||||||
->make('library ENABLE_SHARED=0', 'install ENABLE_SHARED=0', with_clean: false);
|
->make("library {$shared}", "install {$shared}", with_clean: false);
|
||||||
|
|
||||||
$this->patchPkgconfPrefix();
|
$this->patchPkgconfPrefix();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user