Skip to content

Commit

Permalink
Add support for homebrew path
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Sep 5, 2023
1 parent e8a6691 commit 95895d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Internal/HPackNghttp2.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 95895d2

Please sign in to comment.