From 92804dec7c4982d2039f81586bc4a5cacb46217b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 16 Apr 2009 23:55:56 +0100 Subject: [PATCH] Allow Ruby bindings to build correctly even if libguestfs not installed. --- ruby/Rakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in index fc95f3f..ed217f4 100644 --- a/ruby/Rakefile.in +++ b/ruby/Rakefile.in @@ -39,7 +39,7 @@ CLOBBER.include [ "config.save", "ext/**/mkmf.log", file MAKEFILE => EXT_CONF do |t| Dir::chdir(File::dirname(EXT_CONF)) do - unless sh "ruby #{File::basename(EXT_CONF)}" + unless sh "ruby #{File::basename(EXT_CONF)} --with-_guestfs-include=../../../src --with-_guestfs-lib=../../../src/.libs" $stderr.puts "Failed to run extconf" break end -- 1.8.3.1