From a68c805998ebb4f3adbd92210c6db28090cd21a9 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 2 Nov 2007 16:03:58 +0000 Subject: [PATCH] Fix out-of-tree build of ruby bindings. --- swig/ruby/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swig/ruby/Makefile.am b/swig/ruby/Makefile.am index 801340c..dcea879 100644 --- a/swig/ruby/Makefile.am +++ b/swig/ruby/Makefile.am @@ -13,7 +13,7 @@ install-data-local: endif ext/Makefile config.save: $(srcdir)/ext/comedi_ruby_wrap.c - $(RUBY) $(srcdir)/setup.rb config $(RUBY_CONFIG_OPTIONS) -- --with-comedilib-dir=../../.. + $(RUBY) $(srcdir)/setup.rb config $(RUBY_CONFIG_OPTIONS) -- --with-comedilib-dir=$(abs_srcdir)/../.. ext/comedi.so ext/comedi_ruby_wrap.o: ext/Makefile config.save $(RUBY) $(srcdir)/setup.rb setup -- 2.26.2