--- ./bindings/perl-shared/Makefile.PL.orig	2016-07-01 12:03:52.412896473 -0400
+++ ./bindings/perl-shared/Makefile.PL	2016-07-01 12:03:58.164895907 -0400
@@ -30,21 +30,6 @@
 	my $TOP_SRCDIR = $ENV{'ABS_TOP_SRCDIR'} || '../..';
 	my $TOP_BUILDDIR = $ENV{'ABS_TOP_BUILDDIR'} || '../..';
 	my $SRCDIR = $ENV{'ABS_SRCDIR'} || '.';
-	# if the last argument when calling Makefile.PL is RPATH=/... and ... is the
-	# path to librrd.so then the Makefile will be written such that RRDs.so knows
-	# where to find librrd.so later on ... 
-	my $R="";
-	if ($ARGV[-1] =~ /RPATH=(\S+)/){
-		pop @ARGV;
-		my $rp = $1;
-		for ($^O){
-			/linux/   && do{ $R = "-Wl,--rpath -Wl,$rp"};
-			/hpux/    && do{ $R = "+b$rp"};
-			/solaris/ && do{ $R = "-R$rp"};
-			/bsd/     && do{ $R = "-Wl,--rpath -Wl,$rp"};
-			/aix/     && do{ $R = "-blibpath:$rp"};
-		}
-	}
 
 	# darwin works without this because librrd contains its
 	# install_name which will includes the final location of the
