summaryrefslogtreecommitdiffstats
path: root/ruby
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-22 09:46:39 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-06-22 11:29:57 +0100
commit8098d062b4cb70defd4aecba0ba8cd75cf893751 (patch)
tree912a2a2f6190f680b8bba09ba8841ac3551bcce8 /ruby
parent823ba05ebd8f1a12574a3f154aaf7c8b4f2aeeac (diff)
downloadlibguestfs-8098d062b4cb70defd4aecba0ba8cd75cf893751.tar.gz
libguestfs-8098d062b4cb70defd4aecba0ba8cd75cf893751.tar.xz
libguestfs-8098d062b4cb70defd4aecba0ba8cd75cf893751.zip
ruby: Add a replacement rb_hash_lookup function for Ruby 1.8.5.
This function was first added to Ruby in 1.8.7.
Diffstat (limited to 'ruby')
-rw-r--r--ruby/Rakefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
index 9ae993bc..84a22034 100644
--- a/ruby/Rakefile.in
+++ b/ruby/Rakefile.in
@@ -38,7 +38,7 @@ CLOBBER.include [ "@builddir@/config.save", "@builddir@/ext/**/mkmf.log",
# Build locally
file MAKEFILE => EXT_CONF do |t|
- unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/guestfs; cd @builddir@/ext/guestfs; @RUBY@ #{EXT_CONF} --with-_guestfs-include=$top_srcdir/src --with-_guestfs-lib=$top_builddir/src/.libs"
+ unless sh "top_srcdir=$(pwd)/@top_srcdir@; top_builddir=$(pwd)/@top_builddir@; export ARCHFLAGS=\"-arch $(uname -m)\"; mkdir -p @builddir@/ext/guestfs; cd @builddir@/ext/guestfs; @RUBY@ #{EXT_CONF} --with-_guestfs-include=$top_srcdir/src:$top_builddir --with-_guestfs-lib=$top_builddir/src/.libs"
$stderr.puts "Failed to run extconf"
break
end