gpu-dawn: prevent abseil from using pthread on Windows
Helps hexops/mach#86 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d32cc38a57
commit
53e85b8dac
1 changed files with 1 additions and 0 deletions
|
|
@ -1024,6 +1024,7 @@ fn buildLibAbseilCpp(b: *Builder, step: *std.build.LibExeObjStep, options: Optio
|
|||
include("libs/dawn"),
|
||||
include("libs/dawn/third_party/abseil-cpp"),
|
||||
}) catch unreachable;
|
||||
if (target.os.tag == .windows) flags.append("-DABSL_FORCE_THREAD_IDENTITY_MODE=2") catch unreachable;
|
||||
|
||||
// absl
|
||||
appendLangScannedSources(b, lib, options, .{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue