diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/extmk.rb | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,7 @@ -Mon Apr 23 22:09:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Apr 23 22:14:42 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/extmk.rb ($ruby): add extout directory to include path. + [ruby-core:11003] * lib/mkmf.rb (libpathflag): not to append RPATHFLAG to current directory. diff --git a/ext/extmk.rb b/ext/extmk.rb index 290fef9d56..15d2abb608 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -323,6 +323,7 @@ else $ruby = '$(topdir)/miniruby' + EXEEXT end $ruby << " -I'$(topdir)' -I'$(hdrdir)/lib'" +$ruby << " -I'#{$extout}'" if $extout $config_h = '$(topdir)/config.h' MTIMES = [__FILE__, 'rbconfig.rb', srcdir+'/lib/mkmf.rb'].collect {|f| File.mtime(f)} |