[PATCH 1/2] build/tools: Add support for Haiku

Alexander von Gluck IV kallisti5 at unixzen.com
Thu Feb 28 17:23:45 CET 2019


---
 src/tools/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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)
-- 
2.20.1



More information about the WireGuard mailing list