summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorPuck Meerburg <puck@puckipedia.com>2018-03-10 20:44:09 +0100
committerPuck Meerburg <puck@puckipedia.com>2018-03-10 20:44:09 +0100
commit56a1ef63e7f2628ad92a5040b3acae64cd99b56a (patch)
treeb6b3a5d7deb44408b9189e9ad2e9d93ea6817194 /make/template/main.mk
parent27e92622b5655c3ecf3182bc511adfb8a07b8722 (diff)
Add Haiku support
Diffstat (limited to 'make/template/main.mk')
-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