Link with -framework Security on macOS

This commit is contained in:
Richard Feldman 2021-04-10 15:52:46 -04:00
parent 136f965a97
commit 7a774ae3cf

View file

@ -466,6 +466,8 @@ fn link_macos(
"-lc++",
// "-lc++abi",
// "-lunwind", // TODO will eventually need this, see https://github.com/rtfeldman/roc/pull/554#discussion_r496370840
"-framework",
"Security", // This "-framework Security" arg is needed for the `rand` crate in examples/cli
// Output
"-o",
output_path.to_str().unwrap(), // app