look for libresolv.dylib (anothy sorace)

This commit is contained in:
rsc 2006-04-04 18:09:05 +00:00
parent cb0e769110
commit 89eaced6b1

2
bin/9l
View file

@ -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