From b6c5824451788b753d2054e3d1d938d4af26a6a5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 25 May 2014 22:19:41 +0200 Subject: fix pam musl build --- package/pam/patches/patch-configure_in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package/pam/patches/patch-configure_in') diff --git a/package/pam/patches/patch-configure_in b/package/pam/patches/patch-configure_in index 499ecc705..122d66e01 100644 --- a/package/pam/patches/patch-configure_in +++ b/package/pam/patches/patch-configure_in @@ -1,5 +1,5 @@ --- Linux-PAM-1.1.8.orig/configure.in 2013-09-18 14:30:13.000000000 +0200 -+++ Linux-PAM-1.1.8/configure.in 2014-05-24 11:00:07.000000000 +0200 ++++ Linux-PAM-1.1.8/configure.in 2014-05-25 20:13:52.996143452 +0200 @@ -28,12 +28,7 @@ dnl If we use /usr as prefix, use /etc f fi if test ${libdir} = '${exec_prefix}/lib' @@ -14,3 +14,12 @@ fi if test ${sbindir} = '${exec_prefix}/sbin' then +@@ -404,7 +399,7 @@ AS_IF([test "x$ac_cv_header_xcrypt_h" = + [crypt_libs="crypt"]) + + BACKUP_LIBS=$LIBS +-AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-l$ac_lib", LIBCRYPT="") ++AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-lcrypt", LIBCRYPT="") + AC_CHECK_FUNCS(crypt_r crypt_gensalt_r) + LIBS=$BACKUP_LIBS + AC_SUBST(LIBCRYPT) -- cgit v1.2.3