From 234df8d11fad4b23fc51a1f426b9e97f1891e81e Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Sun, 25 May 2025 11:48:52 +0700 Subject: [PATCH] update spx, works static and shared --- config/source.json | 2 +- src/SPC/builder/extension/spx.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/source.json b/config/source.json index 2beea67c..dcf2ec58 100644 --- a/config/source.json +++ b/config/source.json @@ -859,7 +859,7 @@ "spx": { "type": "git", "rev": "master", - "url": "https://github.com/NoiseByNorthwest/php-spx.git", + "url": "https://github.com/henderkes/php-spx.git", "path": "php-src/ext/spx", "license": { "type": "file", diff --git a/src/SPC/builder/extension/spx.php b/src/SPC/builder/extension/spx.php index ef9e95bf..9e3ead3a 100644 --- a/src/SPC/builder/extension/spx.php +++ b/src/SPC/builder/extension/spx.php @@ -12,7 +12,7 @@ class spx extends Extension { public function getUnixConfigureArg(bool $shared = false): string { - $arg = '--enable-SPX'; + $arg = '--enable-spx' . ($shared ? '=shared' : ''); if ($this->builder->getExt('zlib') === null) { $arg .= ' --with-zlib-dir=' . BUILD_ROOT_PATH; }