doc/go1.20: mention -lresolv requirement for c-archive on macOS

For golang/go#58159

Change-Id: I4099bba337acdb82e61cddcf099aa4c1c464d387
Reviewed-on: https://go-review.googlesource.com/c/website/+/470856
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
diff --git a/_content/doc/go1.20.html b/_content/doc/go1.20.html
index 358e84a..488160e 100644
--- a/_content/doc/go1.20.html
+++ b/_content/doc/go1.20.html
@@ -234,6 +234,14 @@
 </p>
 
 <p>
+  A consequence is that, on macOS, if Go code that uses
+  the <code>net</code> package is built
+  with <code>-buildmode=c-archive</code>, linking the resulting
+  archive into a C program requires passing <code>-lresolv</code> when
+  linking the C code.
+</p>
+
+<p>
   On macOS, the race detector has been rewritten not to use cgo:
   race-detector-enabled programs can be built and run without Xcode.
   On Linux and other Unix systems, and on Windows, a host C toolchain