diff options
Diffstat (limited to 'lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb')
| -rw-r--r-- | lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb b/lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb new file mode 100644 index 000000000000..3ff097f28f02 --- /dev/null +++ b/lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb @@ -0,0 +1,11 @@ +--- ext/zlib/extconf.rb.orig Fri Mar 28 11:24:47 2003 ++++ ext/zlib/extconf.rb Sun Apr 27 05:56:22 2003 +@@ -24,7 +24,7 @@ + oldlibs = $libs + oldlibpath = $LIBPATH + $libs += " " + Config::CONFIG['LIBRUBYARG'] +- $LIBPATH = [$libdir, $archdir] | $LIBPATH ++ $LIBPATH = [$libdir, $archdir || Config::CONFIG["compile_dir"]] | $LIBPATH + begin + have_func s, 'ruby.h' + rescue ArgumentError # for ruby-1.4 |
