Add maintainer-skip-build option

This commit is contained in:
crazywhalecc
2026-04-29 16:38:59 +08:00
parent 48c3be7e70
commit d745c7d9ec
2 changed files with 5 additions and 3 deletions

View File

@@ -125,9 +125,10 @@ These flags apply only to the combined `build:php` target. To build a specific S
### embed Options {#embed-options}
| Option | Description |
|-------------------------|-----------------------------------------------------------------------|
| `--build-shared=<list>` | Compile specific extensions as shared libraries (requires embed SAPI) |
| Option | Description |
|-----------------------------|------------------------------------------------------------------------------------------------------|
| `--build-shared=<list>` | Compile specific extensions as shared libraries (requires embed SAPI) |
| `--maintainer-skip-build` | (maintainer only) Skip the PHP embed build if `libphp.a` / `libphp.so` already exists in buildroot |
### Download Pass-through Options {#download-options}

View File

@@ -128,6 +128,7 @@ spc build:php <extensions> [options]
| 选项 | 说明 |
|---|---|
| `--build-shared=<list>` | 将指定扩展编译为共享库(需要 embed SAPI|
| `--maintainer-skip-build` | (仅维护者)若 buildroot 中已存在 `libphp.a` / `libphp.so`,则跳过 PHP embed 的编译构建 |
### 下载透传选项 {#download-options}