wg: add support for Haiku

Signed-off-by: Alexander von Gluck IV <kallisti5@unixzen.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Alexander von Gluck IV 2019-02-28 10:23:45 -06:00 committed by Jason A. Donenfeld
parent 74a6f97b7a
commit fc719b7d7e

View file

@ -51,6 +51,9 @@ LIBMNL_LDLIBS := $(shell $(PKG_CONFIG) --libs libmnl 2>/dev/null || echo -lmnl)
CFLAGS += $(LIBMNL_CFLAGS) CFLAGS += $(LIBMNL_CFLAGS)
LDLIBS += $(LIBMNL_LDLIBS) LDLIBS += $(LIBMNL_LDLIBS)
endif endif
ifeq ($(PLATFORM),haiku)
LDLIBS += -lnetwork -lbsd
endif
ifneq ($(V),1) ifneq ($(V),1)
BUILT_IN_LINK.o := $(LINK.o) BUILT_IN_LINK.o := $(LINK.o)