From 0155f29bdc3cf0cab017fd7b33bf9e93cb9af64c Mon Sep 17 00:00:00 2001 From: Connor Taffe Date: Mon, 3 Feb 2025 21:17:49 -0600 Subject: [PATCH] Add -lresolv on Darwin On macOS 15.2, -lresolv is required to resolve symbols like `_res_9_dn_expand` --- bin/9l | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/9l b/bin/9l index e3079e38..6bf8729d 100755 --- a/bin/9l +++ b/bin/9l @@ -31,6 +31,7 @@ case "$tag" in ;; *Darwin*) ld="${CC9:-gcc} -m64 $CC9FLAGS" + extralibs="-lresolv" ;; *SunOS*) ld="${CC9:-cc} -g $CC9FLAGS"