Blame slurm_perlapi_rpaths.patch

Philip Kovacs 188ee2
diff --git a/contribs/perlapi/libslurm/perl/Makefile.PL.in b/contribs/perlapi/libslurm/perl/Makefile.PL.in
Philip Kovacs 188ee2
index fcae43796d..34c1ad1411 100644
Philip Kovacs 188ee2
--- a/contribs/perlapi/libslurm/perl/Makefile.PL.in
Philip Kovacs 188ee2
+++ b/contribs/perlapi/libslurm/perl/Makefile.PL.in
Philip Kovacs 188ee2
@@ -77,7 +77,7 @@ DESTDIR_BUG
Philip Kovacs 9be8f2
 # AIX has problems with not always having the correct
Philip Kovacs 9be8f2
 # flags so we have to add some :)
Philip Kovacs 9be8f2
 my $os = lc(`uname`);
Philip Kovacs 9be8f2
-my $other_ld_flags = "-Wl,-rpath,@top_builddir@/src/api/.libs -Wl,-rpath,@prefix@/lib";
Philip Kovacs db5c17
+my $other_ld_flags = "";
Philip Kovacs 9be8f2
 $other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
Philip Kovacs 9be8f2
 	if $os =~ "aix";
Philip Kovacs 9be8f2
 
Philip Kovacs 188ee2
diff --git a/contribs/perlapi/libslurmdb/perl/Makefile.PL.in b/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
Philip Kovacs 188ee2
index 2db028c113..d143c20190 100644
Philip Kovacs 188ee2
--- a/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
Philip Kovacs 188ee2
+++ b/contribs/perlapi/libslurmdb/perl/Makefile.PL.in
Philip Kovacs 188ee2
@@ -76,7 +76,7 @@ DESTDIR_BUG
Philip Kovacs 9be8f2
 # AIX has problems with not always having the correct
Philip Kovacs 9be8f2
 # flags so we have to add some :)
Philip Kovacs 9be8f2
 my $os = lc(`uname`);
Philip Kovacs 9be8f2
-my $other_ld_flags = "-Wl,-rpath,@top_builddir@/src/db_api/.libs -Wl,-rpath,@prefix@/lib";
Philip Kovacs db5c17
+my $other_ld_flags = "";
Philip Kovacs 9be8f2
 $other_ld_flags = " -brtl -G -bnoentry -bgcbypass:1000 -bexpfull"
Philip Kovacs 9be8f2
 	if $os =~ "aix";
Philip Kovacs 9be8f2