diff options
Diffstat (limited to 'src/nix-daemon/local.mk')
-rw-r--r-- | src/nix-daemon/local.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nix-daemon/local.mk b/src/nix-daemon/local.mk new file mode 100644 index 000000000000..e5538bada0b2 --- /dev/null +++ b/src/nix-daemon/local.mk @@ -0,0 +1,15 @@ +programs += nix-daemon + +nix-daemon_DIR := $(d) + +nix-daemon_SOURCES := $(d)/nix-daemon.cc + +nix-daemon_LIBS = libmain libstore libutil libformat + +nix-daemon_LDFLAGS = -pthread + +ifeq ($(OS), SunOS) + nix-daemon_LDFLAGS += -lsocket +endif + +$(eval $(call install-symlink, nix-daemon, $(bindir)/nix-worker)) |