From fcc53326086120a3366beb990e03014421811c57 Mon Sep 17 00:00:00 2001 From: Kyrian Obikwelu Date: Sat, 24 Aug 2024 05:20:00 +0100 Subject: [PATCH] fix: Add `VIPSHOME` as a potential direct library location --- src/FFI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FFI.php b/src/FFI.php index 70a399b..cebb798 100644 --- a/src/FFI.php +++ b/src/FFI.php @@ -267,6 +267,7 @@ private static function init(): void $vipshome = getenv("VIPSHOME"); if ($vipshome) { + $libraryPaths[] = $vipshome . '/'; // lib/ predicates lib/ $libraryPaths[] = $vipshome . ($is_64bits ? "/lib64/" : "/lib32/"); // lib/ is always searched