forked from lix-project/lix
Fix compile errors on Illumos
This commit is contained in:
parent
daa16cca11
commit
ae6b631dc4
|
@ -13,6 +13,7 @@
|
|||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
#include <limits.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/wait.h>
|
||||
|
|
|
@ -10,6 +10,10 @@ libstore_LIBS = libutil libformat
|
|||
|
||||
libstore_LDFLAGS = -lsqlite3 -lbz2
|
||||
|
||||
ifeq ($(OS), SunOS)
|
||||
libstore_LDFLAGS += -lsocket
|
||||
endif
|
||||
|
||||
libstore_CXXFLAGS = \
|
||||
-DNIX_STORE_DIR=\"$(storedir)\" \
|
||||
-DNIX_DATA_DIR=\"$(datadir)\" \
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue