correct libc name for linux

This commit is contained in:
crazywhalecc 2023-09-23 14:08:59 +08:00 committed by Jerry Ma
parent a4e173f16d
commit d7627dd81a

View File

@ -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