[macruby-changes] [728] MacRuby/trunk/instruby.rb
source_changes at macosforge.org
source_changes at macosforge.org
Mon Nov 10 18:21:29 PST 2008
Revision: 728
http://trac.macosforge.org/projects/ruby/changeset/728
Author: lsansonetti at apple.com
Date: 2008-11-10 18:21:29 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
make sure /usr/local/include is removed from the include path when building markgc, some users have an old <mach-o/arch.h> file there which is taken first by gcc
Modified Paths:
--------------
MacRuby/trunk/instruby.rb
Modified: MacRuby/trunk/instruby.rb
===================================================================
--- MacRuby/trunk/instruby.rb 2008-11-11 00:55:36 UTC (rev 727)
+++ MacRuby/trunk/instruby.rb 2008-11-11 02:21:29 UTC (rev 728)
@@ -522,7 +522,7 @@
else
puts "fixing bridge support dylibs"
unless File.exist?('markgc')
- unless system("gcc markgc.c -std=gnu99 -o markgc")
+ unless system("/usr/bin/gcc markgc.c -std=gnu99 -o markgc -nostdinc -I/usr/include")
$stderr.puts "cannot build the markgc tool"
exit 1
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081110/b8cf5406/attachment.html>
More information about the macruby-changes
mailing list