Skip to content

Commit fcc5332

Browse files
fix: Add VIPSHOME as a potential direct library location
1 parent 69c343e commit fcc5332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FFI.php

+1
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ private static function init(): void
267267

268268
$vipshome = getenv("VIPSHOME");
269269
if ($vipshome) {
270+
$libraryPaths[] = $vipshome . '/';
270271
// lib<qual>/ predicates lib/
271272
$libraryPaths[] = $vipshome . ($is_64bits ? "/lib64/" : "/lib32/");
272273
// lib/ is always searched

0 commit comments

Comments
 (0)