From ae11233c0a226bb34d5dac238962dbd064831426 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 20 Dec 2010 07:03:40 +0000 Subject: [PATCH] add extra space to LDFLAGS when building ruby bindings ... otherwhise this will break if there is already content in LDFLAGS ... fix for #284 thanks dam at opencsw. git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2151 a5681a0c-68f1-0310-ab6d-d61299d08faa --- bindings/ruby/extconf.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb index 2045e5a..164a525 100644 --- a/bindings/ruby/extconf.rb +++ b/bindings/ruby/extconf.rb @@ -4,13 +4,13 @@ require 'mkmf' if /linux/ =~ RUBY_PLATFORM - $LDFLAGS += '-Wl,--rpath -Wl,$(EPREFIX)/lib' + $LDFLAGS += ' -Wl,--rpath -Wl,$(EPREFIX)/lib' elsif /solaris/ =~ RUBY_PLATFORM - $LDFLAGS += '-R$(EPREFIX)/lib' + $LDFLAGS += ' -R$(EPREFIX)/lib' elsif /hpux/ =~ RUBY_PLATFORM - $LDFLAGS += '+b$(EPREFIX)/lib' + $LDFLAGS += ' +b$(EPREFIX)/lib' elsif /aix/ =~ RUBY_PLATFORM - $LDFLAGS += '-Wl,-blibpath:$(EPREFIX)/lib' + $LDFLAGS += ' -blibpath:$(EPREFIX)/lib' end dir_config("rrd","../../src","../../src/.libs") -- 2.11.0