aboutsummaryrefslogtreecommitdiff
path: root/libtokencap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libtokencap/Makefile')
-rw-r--r--libtokencap/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtokencap/Makefile b/libtokencap/Makefile
index 6e1319d8..486c6c9e 100644
--- a/libtokencap/Makefile
+++ b/libtokencap/Makefile
@@ -20,6 +20,7 @@ VERSION = $(shell grep '^\#define VERSION ' ../config.h | cut -d '"' -f2)
CFLAGS ?= -O3 -funroll-loops -I ../include/
CFLAGS += -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign
+LDFLAGS += -ldl
ifeq "$(shell uname)" "Linux"
TARGETS = libtokencap.so
@@ -36,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