[macruby-changes] [3434] MacRuby/trunk/bin/ruby_deploy
source_changes at macosforge.org
source_changes at macosforge.org
Thu Feb 4 16:26:35 PST 2010
Revision: 3434
http://trac.macosforge.org/projects/ruby/changeset/3434
Author: mattaimonetti at gmail.com
Date: 2010-02-04 16:26:35 -0800 (Thu, 04 Feb 2010)
Log Message:
-----------
rbos are now linked properly when MacRuby is embedded in an app
Modified Paths:
--------------
MacRuby/trunk/bin/ruby_deploy
Modified: MacRuby/trunk/bin/ruby_deploy
===================================================================
--- MacRuby/trunk/bin/ruby_deploy 2010-02-04 22:50:03 UTC (rev 3433)
+++ MacRuby/trunk/bin/ruby_deploy 2010-02-05 00:26:35 UTC (rev 3434)
@@ -99,7 +99,9 @@
}
# Hack the application binaries to link against the MacRuby.framework copy.
- patterns = [File.join(@app_bundle, 'Contents/MacOS/*'), File.join(app_macruby_usr, 'lib/ruby/**/*.{bundle,rbo}')]
+ patterns = [File.join(@app_bundle, 'Contents/MacOS/*'),
+ File.join(app_macruby_usr, 'lib/ruby/**/*.{bundle,rbo}'),
+ File.join(@app_bundle, 'Contents/Resources/*.rbo')]
patterns.each do |pat|
Dir.glob(pat).each do |bin|
execute("#{@install_name_tool} -change #{macruby_usr}/lib/libmacruby.dylib @executable_path/../Frameworks/MacRuby.framework/Versions/#{MACRUBY_VERSION}/usr/lib/libmacruby.dylib '#{bin}'")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100204/ec00ac62/attachment.html>
More information about the macruby-changes
mailing list