summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorChristoph Egger <christoph@debian.org>2012-04-14 03:10:40 +0200
committerRobin Burchell <robin+git@viroteck.net>2012-04-16 08:29:41 +0200
commit234aabf36cd73f814e64118581488504fa875b58 (patch)
treed149c5f8baad6658415077da38ac51a6e97eaa76 /make/template/main.mk
parent937c562ce4bfda96386ec28db82b3b4ef5b7b21d (diff)
fix build on kfreebsd
fixes #64
Diffstat (limited to 'make/template/main.mk')
-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 317941df4..ff6d1e11c 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -38,6 +38,9 @@ INSTMODE_LIB = 0644
@IFEQ $(SYSTEM) linux
LDLIBS += -ldl -lrt
@ENDIF
+@IFEQ $(SYSTEM) gnukfreebsd
+ LDLIBS += -ldl -lrt
+@ENDIF
@IFEQ $(SYSTEM) solaris
LDLIBS += -lsocket -lnsl -lrt -lresolv
@ENDIF