aboutsummaryrefslogtreecommitdiff
path: root/src/nix-daemon/local.mk
diff options
context:
space:
mode:
authorDanny Wilson <danny@decube.net>2014-04-03 16:59:25 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-03 17:39:57 +0200
commitae6b631dc48f4b923a6ed17b8d6e59524c4ea883 (patch)
tree482258382b5ecfc05127734ffb9f36b5db2aeac6 /src/nix-daemon/local.mk
parentdaa16cca11304a0e91a188176959e2af28be1f57 (diff)
Fix compile errors on Illumos
Diffstat (limited to 'src/nix-daemon/local.mk')
-rw-r--r--src/nix-daemon/local.mk4
1 files changed, 4 insertions, 0 deletions
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))