From: Bernd Zeimetz Date: Sun, 10 Feb 2008 13:45:31 +0000 (+0100) Subject: Don't set -rpath for ruby modules. X-Git-Tag: debian/1.2.26-1~21 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ed036669fba0dd22c88d1028a8046a9003cb42b3;p=pkg-rrdtool.git Don't set -rpath for ruby modules. --- diff --git a/debian/patches/no-rpath-for-ruby b/debian/patches/no-rpath-for-ruby new file mode 100644 index 0000000..3d98ba7 --- /dev/null +++ b/debian/patches/no-rpath-for-ruby @@ -0,0 +1,15 @@ +Index: rrdtool/bindings/ruby/extconf.rb +=================================================================== +--- rrdtool.orig/bindings/ruby/extconf.rb 2008-02-10 14:43:00.000000000 +0100 ++++ rrdtool/bindings/ruby/extconf.rb 2008-02-10 14:43:08.000000000 +0100 +@@ -3,9 +3,7 @@ + + require 'mkmf' + +-if /linux/ =~ RUBY_PLATFORM +- $LDFLAGS += '-Wl,--rpath -Wl,$(EPREFIX)/lib' +-elsif /solaris/ =~ RUBY_PLATFORM ++if /solaris/ =~ RUBY_PLATFORM + $LDFLAGS += '-R$(EPREFIX)/lib' + elsif /hpux/ =~ RUBY_PLATFORM + $LDFLAGS += '+b$(EPREFIX)/lib' diff --git a/debian/patches/series b/debian/patches/series index 1a60bf4..770c845 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ setup.py-module-name +no-rpath-for-ruby