mirror of
https://github.com/rafaelvcaetano/melonDS-android-lib.git
synced 2024-11-23 13:50:11 +00:00
make extra extra extra EXTRA sure the goddamn libraries are writable
This commit is contained in:
parent
75b6ea339a
commit
aed92e533a
@ -102,6 +102,8 @@ def fixup_libs(prog, orig_path)
|
||||
throw "fixup_libs: #{prog} doesn't exist" unless File.exist? prog
|
||||
|
||||
libs = get_load_libs(prog).map { |it| expand_load_path(orig_path, it) }.select { |it| not system_lib? it[0] }
|
||||
|
||||
FileUtils.chmod("u+w", prog)
|
||||
strip prog
|
||||
|
||||
libs.each do |lib|
|
||||
|
Loading…
Reference in New Issue
Block a user