Code

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@825 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/bindings/perl-shared/Makefile.PL

index 516cc39a50aaf7bd2af9908a1d8578e7940820c1..863444c787c423c14a571c599a2ebe7a5a5a9f3e 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"};
        }
 }