Merge pull request #204180 from mweinelt/cpython-restore-libxcrypt-cflags-libs

This commit is contained in:
Martin Weinelt 2022-12-03 00:04:45 +01:00 committed by GitHub
commit 2d7e0f330a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -308,6 +308,9 @@ in with passthru; stdenv.mkDerivation {
"--enable-loadable-sqlite-extensions"
] ++ optionals (openssl' != null) [
"--with-openssl=${openssl'.dev}"
] ++ optionals (libxcrypt != null) [
"CFLAGS=-I${libxcrypt}/include"
"LIBS=-L${libxcrypt}/lib"
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_buggy_getaddrinfo=no"
# Assume little-endian IEEE 754 floating point when cross compiling