boost: allow enablePython in cross compilation

This commit is contained in:
Yves Fischer
2022-08-25 23:26:51 +02:00
parent efe19ddf3b
commit 9e77929f19
@@ -28,8 +28,6 @@
# We must build at least one type of libraries
assert enableShared || enableStatic;
# Python isn't supported when cross-compiling
assert enablePython -> stdenv.hostPlatform == stdenv.buildPlatform;
assert enableNumpy -> enablePython;
# Boost <1.69 can't be built on linux with clang >8, because pth was removed