aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2019-02-28 10:23:45 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-28 23:54:25 +0100
commitfc719b7d7ed3abf2b2ed495195584d90eb62e983 (patch)
tree01f3ec95041c224ee690d8d99f888bd4596f1f2f /src
parentwg: genkey: account for short reads of /dev/urandom (diff)
downloadwireguard-tools-fc719b7d7ed3abf2b2ed495195584d90eb62e983.tar.xz
wireguard-tools-fc719b7d7ed3abf2b2ed495195584d90eb62e983.zip
wg: add support for Haiku
Signed-off-by: Alexander von Gluck IV <kallisti5@unixzen.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f2904f2..0eecc57 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -51,6 +51,9 @@ LIBMNL_LDLIBS := $(shell $(PKG_CONFIG) --libs libmnl 2>/dev/null || echo -lmnl)
CFLAGS += $(LIBMNL_CFLAGS)
LDLIBS += $(LIBMNL_LDLIBS)
endif
+ifeq ($(PLATFORM),haiku)
+LDLIBS += -lnetwork -lbsd
+endif
ifneq ($(V),1)
BUILT_IN_LINK.o := $(LINK.o)