mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-20 15:25:36 +08:00
Whoops
This commit is contained in:
@@ -208,7 +208,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|||||||
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "-ldl -lpthread -lm -lutil")
|
set(CMAKE_EXE_LINKER_FLAGS "-ldl -lpthread -lm -lutil")
|
||||||
CMAKE;
|
CMAKE;
|
||||||
// 有时候系统的 cmake 找不到 ar 命令,真奇怪
|
// Whoops, linux may need CMAKE_AR sometimes
|
||||||
if (PHP_OS_FAMILY === 'Linux') {
|
if (PHP_OS_FAMILY === 'Linux') {
|
||||||
$toolchain .= "\nSET(CMAKE_AR \"ar\")";
|
$toolchain .= "\nSET(CMAKE_AR \"ar\")";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user