diff --git a/bin/9l b/bin/9l index f22a68c4..28a24d42 100755 --- a/bin/9l +++ b/bin/9l @@ -150,7 +150,7 @@ then libsl="$libsl -lsec -l9" fi - if [ "x$needndb" = xtrue -a -f /usr/lib/libresolv.a ] + if [ "x$needndb" = xtrue -a '(' -f /usr/lib/libresolv.a -o -f /usr/lib/libresolv.dylib ')' ] then libsl="$libsl -lresolv" fi