fixed BUILTINS_HOST_OBJ_PATH not found

This commit is contained in:
Anton-4 2022-08-01 18:54:16 +02:00
parent 0b5b3a8652
commit d6b62add36
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
3 changed files with 6 additions and 8 deletions

View file

@ -230,7 +230,7 @@ pub fn build_zig_host_native(
"build-exe",
"-fPIE",
shared_lib_path.to_str().unwrap(),
bitcode::BUILTINS_HOST_OBJ_PATH,
&bitcode::get_builtins_host_obj_path(),
]);
} else {
command.args(&["build-obj", "-fPIC"]);

View file

@ -187,7 +187,7 @@ pub fn helper(
// With the current method all methods are kept and it adds about 100k to all outputs.
&[
app_o_file.to_str().unwrap(),
bitcode::BUILTINS_HOST_OBJ_PATH,
&bitcode::get_builtins_host_obj_path(),
],
LinkType::Dylib,
)