gpu-dawn: fix linux build (duplicate symbol main)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d23147b653
commit
ca200ff5d5
1 changed files with 2 additions and 2 deletions
|
|
@ -1009,7 +1009,7 @@ fn buildLibSPIRVCross(b: *Builder, step: *std.build.LibExeObjStep, options: Opti
|
||||||
"libs/dawn/third_party/vulkan-deps/spirv-cross/src/",
|
"libs/dawn/third_party/vulkan-deps/spirv-cross/src/",
|
||||||
&.{ ".cpp", ".c", ".cc" },
|
&.{ ".cpp", ".c", ".cc" },
|
||||||
&.{},
|
&.{},
|
||||||
&.{ "test", "benchmark" },
|
&.{ "test", "benchmark", "main.cpp" },
|
||||||
) catch unreachable;
|
) catch unreachable;
|
||||||
addCSourceFiles(b, lib, sources.items, flags.items);
|
addCSourceFiles(b, lib, sources.items, flags.items);
|
||||||
return lib;
|
return lib;
|
||||||
|
|
@ -1074,7 +1074,7 @@ fn buildLibAbseilCpp(b: *Builder, step: *std.build.LibExeObjStep, options: Optio
|
||||||
"libs/dawn/" ++ dir,
|
"libs/dawn/" ++ dir,
|
||||||
&.{ ".cpp", ".c", ".cc" },
|
&.{ ".cpp", ".c", ".cc" },
|
||||||
&.{},
|
&.{},
|
||||||
&.{ "_test", "_testing", "benchmark" },
|
&.{ "_test", "_testing", "benchmark", "print_hash_of.cc", "gaussian_distribution_gentables.cc" },
|
||||||
) catch unreachable;
|
) catch unreachable;
|
||||||
}
|
}
|
||||||
addCSourceFiles(b, lib, sources.items, flags.items);
|
addCSourceFiles(b, lib, sources.items, flags.items);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue