projects
/
platform
/
upstream
/
pam.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2a7df
)
Fix build when crypt() is not part of crypt_libs
90/277390/1
accepted/tizen_6.5_base
accepted/tizen_6.5_base_tool
tizen_6.5_base
accepted/tizen/6.5/base/20230714.002617
accepted/tizen/6.5/base/tool/20220718.041308
submit/tizen_6.5_base/20220706.064137
submit/tizen_6.5_base/20220715.044947
author
Seungha Son
<seungha.son@samsung.com>
Tue, 23 Nov 2021 06:07:51 +0000
(15:07 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Wed, 6 Jul 2022 06:37:13 +0000
(06:37 +0000)
* 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>
(cherry picked from commit
5b0f078ec372f810b832d0f261c68826fb97d4f9
)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
ae762a2
..
385f065
100644
(file)
--- 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)