From 70ad97d739e16cf1f12814f1c71745780194bca3 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 2 Dec 2019 21:00:37 +0000 Subject: Enable libtokencap on DragonFlyBSD --- libtokencap/Makefile | 3 +++ libtokencap/libtokencap.so.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libtokencap/Makefile b/libtokencap/Makefile index b1313430..486c6c9e 100644 --- a/libtokencap/Makefile +++ b/libtokencap/Makefile @@ -37,6 +37,9 @@ endif ifeq "$(shell uname)" "NetBSD" TARGETS = libtokencap.so endif +ifeq "$(shell uname)" "DragonFly" + TARGETS = libtokencap.so +endif all: $(TARGETS) libtokencap.so: libtokencap.so.c ../config.h diff --git a/libtokencap/libtokencap.so.c b/libtokencap/libtokencap.so.c index e16fb772..647b85bc 100644 --- a/libtokencap/libtokencap.so.c +++ b/libtokencap/libtokencap.so.c @@ -33,7 +33,7 @@ #include "../config.h" #if !defined __linux__ && !defined __APPLE__ && !defined __FreeBSD__ && \ - !defined __OpenBSD__ && !defined __NetBSD__ + !defined __OpenBSD__ && !defined __NetBSD__ && !defined __DragonFly__ #error "Sorry, this library is unsupported in this platform for now!" #endif /* !__linux__ && !__APPLE__ && ! __FreeBSD__ && ! __OpenBSD__ && \ !__NetBSD__*/ -- cgit 1.4.1