From d7ccf5e1ccf93d6e71246d0eb1ab66ce5b170a70 Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 29 Jun 2011 14:11:19 +0000 Subject: * ex/tk/extconf.rb: support for the latest ActiveTcl with mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/extconf.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/tk') diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index 1f4f37a215..2f68d01e7f 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -2021,6 +2021,9 @@ if (TkLib_Config["tcltk-framework"] || $defs << %[-DRUBY_VERSION=\\"#{RUBY_VERSION}\\"] $defs << %[-DRUBY_RELEASE_DATE=\\"#{RUBY_RELEASE_DATE}\\"] + # remove harmful definitions. + $defs.delete_if{|x|/^-Du?intptr_t=/ =~ x} + create_makefile("tcltklib") puts "\nFind Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk." -- cgit v1.2.3