From eb6f36782dae12a9922df3a828b3e811646ee660 Mon Sep 17 00:00:00 2001 From: Giacomo Pasini Date: Mon, 8 May 2023 17:28:10 +0200 Subject: [PATCH] fix link flgs (#144) --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 4838dd95..b915cdf8 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"] \ No newline at end of file