[macruby-changes] [4166] MacRuby/trunk/bin/rubyc
source_changes at macosforge.org
source_changes at macosforge.org
Wed May 26 15:00:56 PDT 2010
Revision: 4166
http://trac.macosforge.org/projects/ruby/changeset/4166
Author: lsansonetti at apple.com
Date: 2010-05-26 15:00:53 -0700 (Wed, 26 May 2010)
Log Message:
-----------
when linking a final executable, also link against Foundation and libauto since some of their symbols can now be inlined
Modified Paths:
--------------
MacRuby/trunk/bin/rubyc
Modified: MacRuby/trunk/bin/rubyc
===================================================================
--- MacRuby/trunk/bin/rubyc 2010-05-26 21:53:53 UTC (rev 4165)
+++ MacRuby/trunk/bin/rubyc 2010-05-26 22:00:53 UTC (rev 4166)
@@ -273,7 +273,7 @@
# Link all objects into executable.
linkf = @static ?
"-L#{RbConfig::CONFIG['libdir']} #{RbConfig::CONFIG['LIBRUBYARG_STATIC_REALLY']}" :
- "-framework MacRuby -lobjc"
+ "-framework MacRuby -framework Foundation -lobjc -lauto"
line = "#{@gcxx} -o \"#{output}\" #{arch_flags} #{linkf} "
objs.each { |o| line << " \"#{o}\"" }
execute(line)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100526/70095b79/attachment.html>
More information about the macruby-changes
mailing list