Some tests use res_init() and need -lresolv on Solaris

This is a follow-up to ea23e50f, which fixed it for the build.
This commit is contained in:
Danek Duvall 2017-08-03 15:38:34 -07:00
parent 9427bb36f6
commit 45b90ef52e

View File

@ -82,7 +82,7 @@ ifeq ($(UNAME),Bitrig)
EXTRACXXFLAGS := -lc++ -lc++abi
else
ifeq ($(UNAME),SunOS)
EXTRACFLAGS := -lm -lpthread -lposix4 -lsocket
EXTRACFLAGS := -lm -lpthread -lposix4 -lsocket -lresolv
else
ifeq ($(UNAME),OpenBSD)
EXTRACFLAGS := -lm -lpthread