diff options
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r-- | src/libstore/local.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk index 2dddce740dcc..40cb25dc5fb3 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -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)\" \ |