Make macOS linking not crash

This commit is contained in:
Richard Feldman 2021-04-05 21:43:45 -04:00
parent e4da63cc48
commit a8fa1a47f5

View file

@ -463,8 +463,9 @@ fn link_macos(
// "-lrt", // TODO shouldn't we need this? // "-lrt", // TODO shouldn't we need this?
// "-lc_nonshared", // TODO shouldn't we need this? // "-lc_nonshared", // TODO shouldn't we need this?
// "-lgcc", // TODO will eventually need compiler_rt from gcc or something - see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840 // "-lgcc", // TODO will eventually need compiler_rt from gcc or something - see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840
"-lc++",
// "-lc++abi",
// "-lunwind", // TODO will eventually need this, see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840 // "-lunwind", // TODO will eventually need this, see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840
"-lc++", // TODO shouldn't we need this?
// Output // Output
"-o", "-o",
output_path.to_str().unwrap(), // app output_path.to_str().unwrap(), // app