mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 10:50:30 +08:00
boost: disable python explicitly in b2Args (#45679)
fixes the build of boost_162
(cherry picked from commit 775d1ecf57)
This commit is contained in:
@@ -76,6 +76,7 @@ let
|
||||
++ optional (toolset != null) "toolset=${toolset}"
|
||||
++ optional (mpi != null || stdenv.hostPlatform != stdenv.buildPlatform) "--user-config=user-config.jam"
|
||||
++ optionals (stdenv.hostPlatform.libc == "msvcrt") [
|
||||
++ optional (!enablePython) "--without-python"
|
||||
"threadapi=win32"
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user