Modified: MacRuby/trunk/instruby.rb (819 => 820)
--- MacRuby/trunk/instruby.rb 2009-02-28 20:38:50 UTC (rev 819)
+++ MacRuby/trunk/instruby.rb 2009-02-28 21:06:49 UTC (rev 820)
@@ -516,35 +516,6 @@
ln_sfh File.join("../../..", CONFIG['bindir'], 'rb_nibtool'), ib_dest
install('tool/rb_nibtool.old', ib_dest, :mode => $prog_mode)
-touch_file = '/System/Library/Frameworks/.bridgesupport_dylib_gcmarked'
-if ($destdir.empty? and File.exist?(touch_file)) or `sw_vers -productVersion`.strip.to_f >= 10.6
- puts "bridge support dylibs already fixed"
-else
- puts "fixing bridge support dylibs"
- unless File.exist?('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
- end
- Dir.glob('/System/Library/Frameworks/**/BridgeSupport/*.dylib').each do |p|
- unless File.exist?(touch_file)
- unless system("./markgc '#{p}' >& /dev/null")
- $stderr.puts "cannot markgc #{p}"
- exit 1
- end
- end
- unless $destdir.empty?
- dirname = File.dirname(p)
- mkdir_p(dirname)
- install(p, dirname)
- end
- end
- if $destdir.empty?
- touch(touch_file)
- end
-end
-
end # unless $installing_rdoc
# vi:set sw=2: