update protobuf

This commit is contained in:
henderkes
2026-06-14 11:52:30 +07:00
parent 967122cc7c
commit 9398a6677d
2 changed files with 6 additions and 2 deletions

View File

@@ -1108,7 +1108,7 @@
},
"protobuf": {
"type": "url",
"url": "https://pecl.php.net/get/protobuf-5.34.1.tgz",
"url": "https://pecl.php.net/get/protobuf",
"path": "php-src/ext/protobuf",
"filename": "protobuf.tgz",
"license": {

View File

@@ -30,7 +30,11 @@ trait libaom
->setBuildDir("{$this->source_dir}/builddir")
->addConfigureArgs(
"-DAOM_TARGET_CPU={$targetCpu}",
'-DCONFIG_RUNTIME_CPU_DETECT=1'
'-DCONFIG_RUNTIME_CPU_DETECT=1',
'-DENABLE_EXAMPLES=0',
'-DENABLE_TOOLS=0',
'-DENABLE_TESTS=0',
'-DENABLE_DOCS=0'
)
->build();
f_putenv("SPC_COMPILER_EXTRA={$extra}");