summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorluka null <luka.devnull@vivaldi.net>2020-09-18 05:22:25 -0500
committerluka null <luka.devnull@vivaldi.net>2020-09-18 05:22:25 -0500
commit1296922d66c22886efa57aecaa7247e2edfd68f9 (patch)
tree6c8c17b689f094173db77e7628a39bf07a3b60e2 /src/Makefile
parentcfbff4e132c8d0aed8bcaf677b25f5ab3a9c3221 (diff)
Add illumos/Solaris support
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 1d1bc0e0..3c791120 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -80,6 +80,9 @@ else ifeq ($(os),OpenBSD)
else ifneq (,$(findstring CYGWIN,$(os)))
CPPFLAGS += -D_XOPEN_SOURCE=700
LIBS += -lncursesw -ldbghelp
+else ifeq ($(os),SunOS)
+ LIBS += -lncursesw
+ LDFLAGS += -lsocket -rdynamic
else
ifeq ($(PKG_CONFIG),)
$(error "pkg-config not found in PATH")