summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 361a0fd)
raw | patch | inline | side by side (parent: 361a0fd)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 18 May 2005 19:18:59 +0000 (19:18 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 18 May 2005 19:18:59 +0000 (19:18 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@578 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings/perl-shared/Makefile.PL | patch | blob | history |
index 4fb14e56d82c36064b2837820398ad230e976470..e0a461409fa841a121e45ac6315ef8fb932acd94 100644 (file)
# the contents of the Makefile that is written.
# Specify the location of the archive containing PIC compiled object files.
-my $R = $^O eq 'linux' ? "-Wl,--rpath -Wl," : "-R" ;
+my $R = "-R" ;
+
+for ($^O){
+ /linux/ && do{ $R = "-Wl,--rpath -Wl,"};
+ /hpux/ && do{ $R = "+b"};
+}
+
my $librrd = "-L../../src/.libs/ $R\$(RPATH) -lrrd";
WriteMakefile(