summaryrefslogtreecommitdiff
path: root/package/pam/patches/patch-configure_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-25 22:19:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-25 22:20:23 +0200
commitb6c5824451788b753d2054e3d1d938d4af26a6a5 (patch)
tree45b13eb37ff04c0ca3988db51a335ab631b1c92d /package/pam/patches/patch-configure_in
parent477550f1fadbe30cbf722a4974cd92ec65e12d19 (diff)
fix pam musl build
Diffstat (limited to 'package/pam/patches/patch-configure_in')
-rw-r--r--package/pam/patches/patch-configure_in11
1 files changed, 10 insertions, 1 deletions
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)