mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Fix macos ld warning
This commit is contained in:
parent
d853fee59b
commit
57fc441bf9
2 changed files with 12 additions and 0 deletions
|
@ -71,6 +71,12 @@ pub fn create_dylib_macho(
|
|||
dummy_obj_file.path().to_str().unwrap(),
|
||||
"-o",
|
||||
dummy_lib_file.to_str().unwrap(),
|
||||
// Suppress warnings, because otherwise it prints:
|
||||
//
|
||||
// ld: warning: -undefined dynamic_lookup may not work with chained fixups
|
||||
//
|
||||
// We can't disable that option without breaking either x64 mac or ARM mac
|
||||
"-w",
|
||||
])
|
||||
.output()
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue