summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-06-11 19:55:44 +0200
committerSir Poggles <sir.pogsalot@gmail.com>2012-06-12 22:49:28 -0700
commit79fd90ebe01c14a644b3f730c89e126c317aa6d7 (patch)
tree90dc721d7c61e9f32e64a35695ec1d3860225bb2 /make
parent675581cfc78f8eee6ba50206913a96bbb7947bcf (diff)
Fix build on Debian GNU/Hurd platforms, thanks to Jonathan Wiltshire <jmw@debian.org> for the patch
Fixes issue #98 reported by @guikcd
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