fix link args

This commit is contained in:
Giacomo Pasini
2023-05-08 16:39:41 +02:00
parent 27597d76b5
commit cc5a30d991
+1 -1
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 -framework CoreServices"]
rustflags = ["-C", "link-args=-framework CoreFoundation -framework Security -framework CoreServices -lresolv"]