From bb764f4c4a058e882ea948d8cc9a7beed32d9789 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@2151 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/bindings/ruby/extconf.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/program/bindings/ruby/extconf.rb b/program/bindings/ruby/extconf.rb index 2045e5a5..164a525a 100644 --- a/program/bindings/ruby/extconf.rb +++ b/program/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.30.2