mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
fix stub lib path
platform-path is relative to the execution folder, not the input path
This commit is contained in:
parent
24ddb1bf0a
commit
4329b08fae
1 changed files with 0 additions and 5 deletions
|
@ -158,11 +158,6 @@ pub fn generate_stub_lib(
|
|||
.collect();
|
||||
|
||||
if let EntryPoint::Executable { platform_path, .. } = &loaded.entry_point {
|
||||
let platform_path = input_path
|
||||
.to_path_buf()
|
||||
.parent()
|
||||
.unwrap()
|
||||
.join(platform_path);
|
||||
let stub_lib = if let target_lexicon::OperatingSystem::Windows = triple.operating_system {
|
||||
platform_path.with_file_name("libapp.obj")
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue