From 3f79558a92d59bc8e691c04ea001eaaa94148a1d Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Fri, 10 Jul 2020 15:38:28 +0200 Subject: pam_skey: Fix configure test for ld -shared. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/732098 Signed-off-by: Ulrich Müller --- patchsets/pam_skey/1.1.5/06_all_ld-shared.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patchsets/pam_skey/1.1.5/06_all_ld-shared.patch diff --git a/patchsets/pam_skey/1.1.5/06_all_ld-shared.patch b/patchsets/pam_skey/1.1.5/06_all_ld-shared.patch new file mode 100644 index 0000000..578baac --- /dev/null +++ b/patchsets/pam_skey/1.1.5/06_all_ld-shared.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/732098 + +--- pam_skey-1.1.5/autoconf/configure.in ++++ pam_skey/autoconf/configure.in +@@ -61,7 +61,7 @@ + hold_ldflags=$LDFLAGS + AC_MSG_CHECKING(for the ld -shared flag) + LDFLAGS="${LDFLAGS} -shared" +-AC_TRY_LINK([#include ], [void blahblah(){fprintf(stderr, "");}], ++AC_TRY_LINK([#include ], [fprintf(stderr, "");], + found=yes, found=no) + LDFLAGS=$hold_ldflags + AC_MSG_RESULT($found) -- cgit v1.2.3-65-gdbad