]> git.proxmox.com Git - qemu.git/blobdiff - Makefile
Fix compilation of nbd on Solaris (Andreas Faerber)
[qemu.git] / Makefile
index fcf8a5820f2d16f90afba5113353a82a4e543eac..0472e169c6745f35d45681fefc9c54b4d56712a6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,10 @@ endif
 
 LIBS+=$(AIOLIBS)
 
+ifdef CONFIG_SOLARIS
+LIBS+=-lsocket -lnsl -lresolv
+endif
+
 all: $(TOOLS) $(DOCS) recurse-all 
 
 SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))