diff options
author | Christian Heimes <christian@python.org> | 2021-11-24 09:47:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 09:47:22 (GMT) |
commit | 64c3807da93fc3e0c15bc376f220b2d24551023e (patch) | |
tree | 127f6ac2fcb4bca4207674cc42f3ff058fe9e6ee /configure.ac | |
parent | 8af6481f6b7d43646c47d8fa6cc6d5eb465e2b0f (diff) | |
download | cpython-64c3807da93fc3e0c15bc376f220b2d24551023e.zip cpython-64c3807da93fc3e0c15bc376f220b2d24551023e.tar.gz cpython-64c3807da93fc3e0c15bc376f220b2d24551023e.tar.bz2 |
bpo-45847: Fix _crypt detection on Ubuntu (GH-29743)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4961e5a..1853baa 100644 --- a/configure.ac +++ b/configure.ac @@ -4243,7 +4243,7 @@ PKG_CHECK_MODULES([LIBCRYPT], [libxcrypt >= 3.1.1], [ WITH_SAVE_ENV([ CPPFLAGS="$LIBCRYPT_CFLAGS $CFLAGS" - LDFLAGS="$LIBCRYPT_LIBS $LDFLAGS" + LIBS="$LIBCRYPT_LIBS $LIBS" AC_CACHE_CHECK([for crypt or crypt_r], [ac_cv_crypt_crypt], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([ #ifdef HAVE_CRYPT_H |