diff options
author | Seungha Son <seungha.son@samsung.com> | 2021-11-23 15:07:51 +0900 |
---|---|---|
committer | Seungha Son <seungha.son@samsung.com> | 2021-11-23 15:10:46 +0900 |
commit | 5b0f078ec372f810b832d0f261c68826fb97d4f9 (patch) | |
tree | ef77013c453fed77d684b3b5b7a0cf36a60d0bed | |
parent | ef2a7df1c5574744dcb334e93e1e6238540c3d87 (diff) | |
download | pam-tizen_7.0_base_hotfix.tar.gz pam-tizen_7.0_base_hotfix.tar.bz2 pam-tizen_7.0_base_hotfix.zip |
Fix build when crypt() is not part of crypt_libstizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen_base/20211124.010647submit/tizen_7.0_base_hotfix/20221115.161601submit/tizen_7.0_base/20221028.201101accepted/tizen/base/tool/20211128.213737accepted/tizen/base/20230714.003431accepted/tizen/8.0/base/20231005.045006accepted/tizen/7.0/base/tool/hotfix/20221115.090518accepted/tizen/7.0/base/tool/20221028.121938accepted/tizen/7.0/base/hotfix/20230714.003838accepted/tizen/7.0/base/20230714.003025tizen_7.0_base_hotfixaccepted/tizen_base_toolaccepted/tizen_7.0_base_tool_hotfixaccepted/tizen_7.0_base_toolaccepted/tizen_7.0_base_hotfix
* 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.in | 2 |
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) |