Skip to content
Snippets Groups Projects
Commit a4960959 authored by Russ Allbery's avatar Russ Allbery
Browse files

Strip out the -rpath setting from krb5-config

* Strip out the -rpath setting from the Heimdal krb5-config --libs call.
  This isn't necessary; the libraries are installed in the normal
  library search path.  Only -L is needed (because of heimdal-multidev).
parent dd03ca29
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,9 @@ libheimdal-kadm5-perl (0.08-5) UNRELEASED; urgency=medium
* Build with current Heimdal. (Closes: #837628)
* Guard against a NULL mod_name in getModName and return undef. Thanks,
Sergio Gelato. (Closes: #670517)
* Strip out the -rpath setting from the Heimdal krb5-config --libs call.
This isn't necessary; the libraries are installed in the normal
library search path. Only -L is needed (because of heimdal-multidev).
* Enable bindnow hardening flags.
* Fix spelling error in manual page caught by Lintian.
* Convert to a proper 3.0 (quilt) package with managed patches.
......
Description: Strip out code from Debian krb5-config to set -rpath
Author: Russ Allbery <rra@debian.org>
--- heimdal-kadm5.orig/Makefile.PL
+++ heimdal-kadm5/Makefile.PL
@@ -16,6 +16,10 @@
chomp $cflags;
}
+# On Debian, krb5-config returns code to set an -rpath to the Heimdal library
+# directory, but we don't want to encode that in the module. Strip this out.
+$lflags =~ s{-Wl,-rpath -Wl,\S+ }{};
+
printf "cflags: $cflags\n";
printf "lflags: $lflags\n";
fix-library-calls.patch
guard-against-null-mod-name.patch
man-page-spelling.patch
fix-ld-run-path.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment