summaryrefslogtreecommitdiffstats
path: root/meta-ruby/recipes-devtools/ruby/ruby/extmk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby/extmk.patch')
-rw-r--r--meta-ruby/recipes-devtools/ruby/ruby/extmk.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby/extmk.patch b/meta-ruby/recipes-devtools/ruby/ruby/extmk.patch
new file mode 100644
index 000000000..8b6845034
--- /dev/null
+++ b/meta-ruby/recipes-devtools/ruby/ruby/extmk.patch
@@ -0,0 +1,13 @@
1diff -ru ruby-1.8.7-p248.orig/ext/extmk.rb ruby-1.8.7-p248/ext/extmk.rb
2--- ruby-1.8.7-p248.orig/ext/extmk.rb 2009-12-24 03:01:58.000000000 -0600
3+++ ruby-1.8.7-p248/ext/extmk.rb 2010-02-12 15:55:27.370061558 -0600
4@@ -354,8 +354,8 @@
5 $ruby = '$(topdir)/miniruby' + EXEEXT
6 end
7 $ruby << " -I'$(topdir)'"
8+$ruby << " -I'$(top_srcdir)/lib'"
9 unless CROSS_COMPILING
10- $ruby << " -I'$(top_srcdir)/lib'"
11 $ruby << " -I'$(extout)/$(arch)' -I'$(extout)/common'" if $extout
12 $ruby << " -I./- -I'$(top_srcdir)/ext' -rpurelib.rb"
13 ENV["RUBYLIB"] = "-"