From 95895d29ae577a3a5995b46d16def04e11e39947 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Tue, 5 Sep 2023 21:59:20 +0200 Subject: [PATCH] Add support for homebrew path --- src/Internal/HPackNghttp2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Internal/HPackNghttp2.php b/src/Internal/HPackNghttp2.php index 1e60fe7..37f1f20 100644 --- a/src/Internal/HPackNghttp2.php +++ b/src/Internal/HPackNghttp2.php @@ -69,7 +69,7 @@ private static function init(): void $header = \file_get_contents(__DIR__ . '/amp-hpack.h'); - $files = ['libnghttp2.so.14', 'libnghttp2.so', 'libnghttp2.dylib']; + $files = ['libnghttp2.so.14', 'libnghttp2.so', 'libnghttp2.dylib', '/opt/homebrew/lib/libnghttp2.dylib']; $error = null; foreach ($files as $file) {