XQuartz: detect Tiger's prefix
This commit is contained in:
parent
880ba0c952
commit
a1a81daffc
@ -99,6 +99,9 @@ module OS
|
|||||||
Pathname.new("/opt/X11")
|
Pathname.new("/opt/X11")
|
||||||
elsif Pathname.new("/usr/X11/lib/libpng.dylib").exist?
|
elsif Pathname.new("/usr/X11/lib/libpng.dylib").exist?
|
||||||
Pathname.new("/usr/X11")
|
Pathname.new("/usr/X11")
|
||||||
|
# X11 doesn't include libpng on Tiger
|
||||||
|
elsif Pathname.new("/usr/X11R6/lib/libX11.dylib").exist?
|
||||||
|
Pathname.new("/usr/X11R6")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user