Added missing linking flags

This commit is contained in:
Daniel Sanchez Quiros 2023-02-14 10:42:19 +01:00
parent 9375f7ea60
commit c69caf2721
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
[target.'cfg(target_os = "macos")']
# when using osx, we need to link against some golang libraries, it did just work with this missing flags
# from: https://github.com/golang/go/issues/42459
rustflags = ["-C", "link-args=-framework CoreFoundation -framework Security"]
rustflags = ["-C", "link-args=-framework CoreFoundation -framework Security -framework CoreServices"]