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
commitc13c45fde68298e3c996372333addd672ddb6737 (patch)
tree49a87cd96a2b23f31118653a7f890d90ae4f1c27 /src
parenttools: genkey: account for short reads of /dev/urandom (diff)
downloadwireguard-monolithic-historical-c13c45fde68298e3c996372333addd672ddb6737.tar.xz
wireguard-monolithic-historical-c13c45fde68298e3c996372333addd672ddb6737.zip
tools: add support for Haiku
Signed-off-by: Alexander von Gluck IV <kallisti5@unixzen.com>
Diffstat (limited to 'src')
-rw-r--r--src/tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/Makefile b/src/tools/Makefile
index f2904f2..0eecc57 100644
--- a/src/tools/Makefile
+++ b/src/tools/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)