about summary refs log tree commit diff
path: root/libtokencap/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-12-03 01:40:41 +0100
committerGitHub <noreply@github.com>2019-12-03 01:40:41 +0100
commit4231c498392484fd2187b9ed1dedb1ba7bc0958b (patch)
tree366586c4ceef17998670a8c2d978869bdac64d56 /libtokencap/Makefile
parentb0d590fef4acb4b002429e4aec195e5740122494 (diff)
parentef2dc98773c55eb09e4c1a588fb74df58570f868 (diff)
downloadafl++-4231c498392484fd2187b9ed1dedb1ba7bc0958b.tar.gz
Merge branch 'master' into llvm_mode_build_fix
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