mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-28 20:55:36 +08:00
ship only one libmacruby-repl.dylib file per platform, the one that has been built with the lowest deployment target (4.3 for ios and 10.7 for osx)
This commit is contained in:
@@ -456,7 +456,7 @@ EOS
|
||||
|
||||
# Optional support for #eval (OSX-only).
|
||||
if config.respond_to?(:eval_support) and config.eval_support
|
||||
repl_dylib_path = File.join(datadir, platform, 'libmacruby-repl.dylib')
|
||||
repl_dylib_path = File.join(datadir, '..', 'libmacruby-repl.dylib')
|
||||
dest_path = File.join(app_resources_dir, File.basename(repl_dylib_path))
|
||||
copy_resource(repl_dylib_path, dest_path)
|
||||
preserve_resources << File.basename(repl_dylib_path)
|
||||
|
||||
Reference in New Issue
Block a user