]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Use "-Wl,--rpath -Wl,$rp" on FreeBSD instead of depreciated
authorMaksym Sobolyev <sobomax@sippysoft.com>
Mon, 27 Oct 2014 17:55:56 +0000 (10:55 -0700)
committerMaksym Sobolyev <sobomax@sippysoft.com>
Mon, 27 Oct 2014 17:55:56 +0000 (10:55 -0700)
"-R$rp", which is not working anymore with the clang toolchain.

bindings/perl-shared/Makefile.PL

index 31ab25f98c50494026a88d2a0c947f8596257ced..07d67ce4c18061ce1156b808453ae9b4eb314645 100644 (file)
@@ -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"};
                }
        }