From 44ce183023c8633bd30ba78b7b78525dd9daffaf Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Mon, 27 Oct 2014 10:55:56 -0700 Subject: [PATCH] Use "-Wl,--rpath -Wl,$rp" on FreeBSD instead of depreciated "-R$rp", which is not working anymore with the clang toolchain. --- bindings/perl-shared/Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}; } } -- 2.47.3