summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index a0719a2..66af797 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -165,6 +165,10 @@ ifeq ($(OS),DragonFly)
LOCAL_LDLIBS += -lposix1e
endif
+ifeq ($(OS),SunOS)
+LOCAL_LDLIBS += -lsocket -lnsl
+endif
+
ifneq ($(filter gcov,$(MAKECMDGOALS)),)
LOCAL_CFLAGS += --coverage
# gcov only intercepts fork()/exec() with -std=gnu*