mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
More 10.14 fixes also make the version check in cmakelists actually work
This commit is contained in:
@ -47,9 +47,9 @@ def expand_load_path(lib, path)
|
||||
get_rpaths(lib).each do |rpath|
|
||||
file = File.join(rpath, file_name)
|
||||
return file, :rpath if File.exist? file
|
||||
if rpath.match? /^@executable_path(.*)/
|
||||
if rpath.match(/^@executable_path(.*)/) != nil
|
||||
relative = rpath.sub(/^@executable_path/, "")
|
||||
return "#{$bundle}/Contents/MacOS#{relative}", :executable_path
|
||||
return "#{$bundle}/Contents/MacOS#{relative}/#{file_name}", :executable_path
|
||||
end
|
||||
end
|
||||
file = $fallback_rpaths
|
||||
@ -69,9 +69,6 @@ def expand_load_path(lib, path)
|
||||
return File.absolute_path(path), :absolute
|
||||
end
|
||||
|
||||
puts lib
|
||||
puts path
|
||||
exit
|
||||
return nil
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user