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