diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-10 09:30:50 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-09-10 09:30:50 +0000 |
commit | 0618c23e7803251ceae36e9e5cb8e7a01633c23f (patch) | |
tree | d9d85aae01336d981a3bd2e8f7aa86f887653641 /ext | |
parent | 7687b581711d93a356b81f8a78be78abfeebf29e (diff) | |
download | ruby-0618c23e7803251ceae36e9e5cb8e7a01633c23f.tar.gz ruby-0618c23e7803251ceae36e9e5cb8e7a01633c23f.tar.xz ruby-0618c23e7803251ceae36e9e5cb8e7a01633c23f.zip |
* ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).
* lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile
times.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index ca46e25be..25153fe20 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -41,7 +41,7 @@ require 'find' require 'ftools' require 'shellwords' -$topdir = $hdrdir = File.expand_path(".") +$topdir = File.expand_path(".") $top_srcdir = srcdir Object.class_eval do remove_method :create_makefile end @@ -374,6 +374,7 @@ def extmake(target) $CPPFLAGS = CONFIG['CPPFLAGS'] $LDFLAGS = "" $LIBPATH = [$libdir] + $INCFLAGS = "-I#{$topdir}" dir_config("opt") |