From: Maksym Sobolyev Date: Mon, 27 Oct 2014 17:55:56 +0000 (-0700) Subject: Use "-Wl,--rpath -Wl,$rp" on FreeBSD instead of depreciated X-Git-Tag: v1.5.0-rc1~6^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44ce183023c8633bd30ba78b7b78525dd9daffaf;p=thirdparty%2Frrdtool-1.x.git Use "-Wl,--rpath -Wl,$rp" on FreeBSD instead of depreciated "-R$rp", which is not working anymore with the clang toolchain. --- diff --git a/bindings/perl-shared/Makefile.PL b/bindings/perl-shared/Makefile.PL index 31ab25f9..07d67ce4 100644 --- a/bindings/perl-shared/Makefile.PL +++ b/bindings/perl-shared/Makefile.PL @@ -41,7 +41,7 @@ if (($Config{'osname'} eq 'MSWin32' && $ENV{'OSTYPE'} eq '')) { /linux/ && do{ $R = "-Wl,--rpath -Wl,$rp"}; /hpux/ && do{ $R = "+b$rp"}; /solaris/ && do{ $R = "-R$rp"}; - /bsd/ && do{ $R = "-R$rp"}; + /bsd/ && do{ $R = "-Wl,--rpath -Wl,$rp"}; /aix/ && do{ $R = "-blibpath:$rp"}; } }