From a5754125a8edab512e89dc192713ca36fb284c97 Mon Sep 17 00:00:00 2001 From: Jerry Ma Date: Mon, 30 Oct 2023 20:32:59 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d89d48f3..a3dedf84 100755 --- a/README.md +++ b/README.md @@ -94,6 +94,8 @@ Here's how to download from GitHub Actions: You can also download binaries from a self-hosted server: [enter](https://dl.static-php.dev/static-php-cli/spc-bin/nightly/). +> SPC single-file binary is built by phpmicro and box. + ### Manual build (using source code) Clone repo first: From 7625f585d213f3dd1a9dd8eae0f0229187040033 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Tue, 31 Oct 2023 00:45:55 +0800 Subject: [PATCH 2/2] fix macos imagemagick libwebp linking issue --- src/SPC/builder/unix/library/libwebp.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SPC/builder/unix/library/libwebp.php b/src/SPC/builder/unix/library/libwebp.php index 32aa7201..19b534ac 100644 --- a/src/SPC/builder/unix/library/libwebp.php +++ b/src/SPC/builder/unix/library/libwebp.php @@ -35,5 +35,7 @@ trait libwebp $this->patchPkgconfPrefix(['libsharpyuv.pc', 'libwebp.pc', 'libwebpdecoder.pc', 'libwebpdemux.pc', 'libwebpmux.pc'], PKGCONF_PATCH_PREFIX | PKGCONF_PATCH_LIBDIR); $this->patchPkgconfPrefix(['libsharpyuv.pc'], PKGCONF_PATCH_CUSTOM, ['/^includedir=.*$/m', 'includedir=${prefix}/include/webp']); $this->cleanLaFiles(); + // fix imagemagick binary linking issue + $this->patchPkgconfPrefix(['libwebp.pc'], PKGCONF_PATCH_CUSTOM, ['/-lwebp$/m', '-lwebp -lsharpyuv']); } }