From 42b3d60056f9ff4009f2398b5697e21a9b48986d Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 23 Apr 2007 13:13:53 +0000 Subject: [PATCH] * ext/extmk.rb ($ruby): add extout directory to include path. [ruby-core:11003] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 ++++- ext/extmk.rb | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7aed21ce63..8062d97eb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -Mon Apr 23 22:09:17 2007 Nobuyoshi Nakada +Mon Apr 23 22:14:42 2007 Nobuyoshi Nakada + + * 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)}