Code

3d98ba7e7f8be3a154eda327ca7222c4f492772a
[pkg-rrdtool.git] / debian / patches / no-rpath-for-ruby
1 Index: rrdtool/bindings/ruby/extconf.rb
2 ===================================================================
3 --- rrdtool.orig/bindings/ruby/extconf.rb       2008-02-10 14:43:00.000000000 +0100
4 +++ rrdtool/bindings/ruby/extconf.rb    2008-02-10 14:43:08.000000000 +0100
5 @@ -3,9 +3,7 @@
6  
7  require 'mkmf'
8  
9 -if /linux/ =~ RUBY_PLATFORM
10 -   $LDFLAGS += '-Wl,--rpath -Wl,$(EPREFIX)/lib'
11 -elsif /solaris/ =~ RUBY_PLATFORM
12 +if /solaris/ =~ RUBY_PLATFORM
13     $LDFLAGS += '-R$(EPREFIX)/lib'
14  elsif /hpux/ =~ RUBY_PLATFORM
15     $LDFLAGS += '+b$(EPREFIX)/lib'