summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/template/main.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 9a5f4db05..cf6d72164 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -61,6 +61,9 @@ INSTMODE_LIB = 0644
@IFEQ $(SYSTEM) gnukfreebsd
LDLIBS += -ldl -lrt
@ENDIF
+@IFEQ $(SYSTEM) gnu
+ LDLIBS += -ldl -lrt
+@ENDIF
@IFEQ $(SYSTEM) solaris
LDLIBS += -lsocket -lnsl -lrt -lresolv
@ENDIF