ad0f62e
diff -up openwsman-2.4.12/bindings/ruby/extconf.rb.orig openwsman-2.4.12/bindings/ruby/extconf.rb
ad0f62e
--- openwsman-2.4.12/bindings/ruby/extconf.rb.orig	2015-02-09 09:28:58.232581263 +0100
ad0f62e
+++ openwsman-2.4.12/bindings/ruby/extconf.rb	2015-02-09 09:38:22.836772879 +0100
ad0f62e
@@ -32,7 +32,7 @@ swig = find_executable("swig")
ad0f62e
 raise "SWIG not found" unless swig
ad0f62e
 
ad0f62e
 major, minor, path = RUBY_VERSION.split(".")
ad0f62e
-raise "SWIG failed to run" unless system("#{swig} -ruby -autorename -DRUBY_VERSION=#{major}#{minor} -I. -I/usr/include/openwsman -o openwsman_wrap.c openwsman.i")
30f95a8
+raise "SWIG failed to run" unless system("#{swig} -ruby -autorename -DRUBY_VERSION=#{major}#{minor} -I. -I/usr/include/openwsman -I/builddir/build/BUILD/openwsman-2.6.2/include/ -o openwsman_wrap.c openwsman.i")
ad0f62e
 
ad0f62e
 $CPPFLAGS = "-I/usr/include/openwsman -I.."
ad0f62e