mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Fix wasm compilation in windows
This commit is contained in:
@@ -1321,7 +1321,7 @@ bool init_build_paths(String init_filename) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(GB_SYSTEM_WINDOWS)
|
if (bc->metrics.os == TargetOs_windows) {
|
||||||
if (bc->resource_filepath.len > 0) {
|
if (bc->resource_filepath.len > 0) {
|
||||||
bc->build_paths[BuildPath_RC] = path_from_string(ha, bc->resource_filepath);
|
bc->build_paths[BuildPath_RC] = path_from_string(ha, bc->resource_filepath);
|
||||||
bc->build_paths[BuildPath_RES] = path_from_string(ha, bc->resource_filepath);
|
bc->build_paths[BuildPath_RES] = path_from_string(ha, bc->resource_filepath);
|
||||||
@@ -1377,7 +1377,7 @@ bool init_build_paths(String init_filename) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
}
|
||||||
|
|
||||||
// All the build targets and OSes.
|
// All the build targets and OSes.
|
||||||
String output_extension;
|
String output_extension;
|
||||||
|
|||||||
Reference in New Issue
Block a user