From cc5a30d99116f63fccdee20cedb039624bd29df0 Mon Sep 17 00:00:00 2001 From: Giacomo Pasini Date: Mon, 8 May 2023 16:39:41 +0200 Subject: [PATCH] fix link args --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 4838dd9..4c21fff 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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"] \ No newline at end of file +rustflags = ["-C", "link-args=-framework CoreFoundation -framework Security -framework CoreServices -lresolv"]