Force ld to add information about the target platform.

This commit is contained in:
Oleksii Skidan 2021-11-04 23:11:27 +02:00
parent 0c0a92814c
commit ae25b800bb

View file

@ -822,6 +822,8 @@ fn link_macos(
ld_command.args(&[
// Libraries - see https://github.com/rtfeldman/roc/pull/554#discussion_r496392274
// for discussion and further references
"-macos_version_min",
"11.0",
"-lSystem",
"-lresolv",
"-lpthread",