mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
correct libc name for linux
This commit is contained in:
parent
a4e173f16d
commit
d7627dd81a
@ -52,7 +52,7 @@ class LinuxBuilder extends BuilderBase
|
|||||||
|
|
||||||
// ---------- set necessary compile environments ----------
|
// ---------- set necessary compile environments ----------
|
||||||
// set libc
|
// set libc
|
||||||
$this->libc = 'musl'; // SystemUtil::selectLibc($this->cc);
|
$this->libc = $this->getOption('cc', 'gcc') === 'musl-gcc' ? 'musl_wrapper' : 'musl'; // SystemUtil::selectLibc($this->cc);
|
||||||
// concurrency
|
// concurrency
|
||||||
$this->concurrency = SystemUtil::getCpuCount();
|
$this->concurrency = SystemUtil::getCpuCount();
|
||||||
// cflags
|
// cflags
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user