From: oetiker Date: Mon, 20 Dec 2010 07:03:40 +0000 (+0000) Subject: add extra space to LDFLAGS when building ruby bindings ... otherwhise this will break... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=05df574c864187582ad6209020133a59dc531026;p=rrdtool-all.git 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/branches/1.3@2151 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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")