summaryrefslogtreecommitdiff
path: root/make/template
diff options
context:
space:
mode:
Diffstat (limited to 'make/template')
-rw-r--r--make/template/main.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 346989086..f3f2c3cc5 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -81,6 +81,11 @@ ifeq ($(SYSTEM), darwin)
CORELDFLAGS = -dynamic -bind_at_load -L.
PICLDFLAGS = -fPIC -shared -twolevel_namespace -undefined dynamic_lookup
endif
+ifeq ($(SYSTEM), haiku)
+ LDLIBS = -lnetwork -lstdc++
+ CORELDFLAGS = -L.
+ PICLDFLAGS = -fPIC -shared
+endif
ifndef INSPIRCD_DEBUG
INSPIRCD_DEBUG=0