tell Makefile.PL how to store an rpath under aix
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 11 May 2006 07:37:58 +0000 (07:37 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 11 May 2006 07:37:58 +0000 (07:37 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@825 a5681a0c-68f1-0310-ab6d-d61299d08faa

bindings/perl-shared/Makefile.PL

index 516cc39..863444c 100644 (file)
@@ -14,6 +14,7 @@ if ($ARGV[-1] =~ /RPATH=(\S+)/){
                /linux/   && do{ $R = "-Wl,--rpath -Wl,$rp"};
                /hpux/    && do{ $R = "+b$rp"};
                /solaris/ && do{ $R = "-R$rp"};
+                /aix/     && do{ $R = "-Wl,-blibpath:$rp"};
        }
 }