tdb: fix cross-compilation
This commit is contained in:
parent
aedc67d64f
commit
d798074f03
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3
|
||||
pkg-config
|
||||
wafHook
|
||||
libxslt
|
||||
|
@ -38,6 +39,11 @@ stdenv.mkDerivation rec {
|
|||
"--builtin-libraries=replace"
|
||||
];
|
||||
|
||||
# python-config from build Python gives incorrect values when cross-compiling.
|
||||
# If python-config is not found, the build falls back to using the sysconfig
|
||||
# module, which works correctly in all cases.
|
||||
PYTHON_CONFIG = "/invalid";
|
||||
|
||||
meta = with lib; {
|
||||
description = "The trivial database";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue