From ae6b631dc48f4b923a6ed17b8d6e59524c4ea883 Mon Sep 17 00:00:00 2001 From: Danny Wilson Date: Thu, 3 Apr 2014 16:59:25 +0200 Subject: Fix compile errors on Illumos --- src/nix-daemon/local.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/nix-daemon/local.mk') diff --git a/src/nix-daemon/local.mk b/src/nix-daemon/local.mk index db071a3f7..bab84e7ad 100644 --- a/src/nix-daemon/local.mk +++ b/src/nix-daemon/local.mk @@ -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)) -- cgit v1.2.3