Fix compile errors on Illumos

This commit is contained in:
Danny Wilson 2014-04-03 16:59:25 +02:00 committed by Eelco Dolstra
parent daa16cca11
commit ae6b631dc4
3 changed files with 9 additions and 0 deletions

View file

@ -6,4 +6,8 @@ nix-daemon_SOURCES := $(d)/nix-daemon.cc
nix-daemon_LIBS = libmain libstore libutil libformat
ifeq ($(OS), SunOS)
nix-daemon_LDFLAGS += -lsocket
endif
$(eval $(call install-symlink, nix-daemon, $(bindir)/nix-worker))