Revision
4417
Author
martinlagardette@apple.com
Date
2010-08-10 13:28:39 -0700 (Tue, 10 Aug 2010)

Log Message

Fix iconv compilation

Modified Paths

Diff

Modified: MacRuby/trunk/ext/iconv/extconf.rb (4416 => 4417)


--- MacRuby/trunk/ext/iconv/extconf.rb	2010-08-09 23:08:00 UTC (rev 4416)
+++ MacRuby/trunk/ext/iconv/extconf.rb	2010-08-10 20:28:39 UTC (rev 4417)
@@ -43,6 +43,7 @@
     $cleanfiles << wrapper
   end
   $INCFLAGS << ' -I../..'
+  $INCFLAGS << ' -I../../icu-1060' if `sw_vers -productVersion`.to_f <= 10.6
   create_makefile("iconv")
   if conf
     open("Makefile", "a") do |mf|