mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
Remove SPC_NO_MUSL_PATH, remove --libc, use SPC_LIBC instead (#642)
* Remove SPC_NO_MUSL_PATH, remove --libc, use SPC_LIBC instead * Fix tests * Internally use GNU_ARCH for unified * Update EXTENSION_DIR comments for env.ini * Remove redundant -fPIC cflags in curl
This commit is contained in:
@@ -182,12 +182,4 @@ class SystemUtil
|
||||
'arch', 'manjaro',
|
||||
];
|
||||
}
|
||||
|
||||
public static function initLibcVar(?string $libc = null): void
|
||||
{
|
||||
if ($libc === null) {
|
||||
$libc = self::isMuslDist() ? 'musl' : 'musl-wrapper';
|
||||
}
|
||||
f_putenv('SPC_LIBC=' . $libc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user