From: Richard W.M. Jones Date: Thu, 16 Apr 2009 22:55:56 +0000 (+0100) Subject: Allow Ruby bindings to build correctly even if libguestfs not installed. X-Git-Tag: 1.0.2~18 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=92804dec7c4982d2039f81586bc4a5cacb46217b;p=libguestfs.git Allow Ruby bindings to build correctly even if libguestfs not installed. --- 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