summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Son <seungha.son@samsung.com>2021-11-23 15:07:51 +0900
committerSeungha Son <seungha.son@samsung.com>2021-11-23 15:10:46 +0900
commit5b0f078ec372f810b832d0f261c68826fb97d4f9 (patch)
treeef77013c453fed77d684b3b5b7a0cf36a60d0bed
parentef2a7df1c5574744dcb334e93e1e6238540c3d87 (diff)
downloadpam-tizen_7.0_base_hotfix.tar.gz
pam-tizen_7.0_base_hotfix.tar.bz2
pam-tizen_7.0_base_hotfix.zip
* configure.ac: Don't set empty -l option in crypt check upstream : https://github.com/linux-pam/linux-pam/commit/01e0038fa55581c4afc9d63b6180d2ea77ba2940 Change-Id: Ibcab19d61f8f3c074b48e696b17b5a7ebf233b91 Signed-off-by: Seungha Son <seungha.son@samsung.com>
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ae762a2..385f065 100644
--- a/configure.in
+++ b/configure.in
@@ -400,7 +400,7 @@ AS_IF([test "x$ac_cv_header_xcrypt_h" = "xyes"],
[crypt_libs="crypt"])
BACKUP_LIBS=$LIBS
-AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-l$ac_lib", LIBCRYPT="")
+AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="${ac_lib:+-l$ac_lib}", LIBCRYPT="")
AC_CHECK_FUNCS(crypt_r crypt_gensalt_r)
LIBS=$BACKUP_LIBS
AC_SUBST(LIBCRYPT)