cpython: Restore libxcrypt CFLAGS and LIBS in configureFlags

This commit is contained in:
Martin Weinelt
2022-12-02 22:50:55 +01:00
parent a5a833468f
commit 72231c9177
@@ -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