diff options
author | hexcoder- <heiko@hexco.de> | 2019-07-05 20:33:36 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2019-07-05 20:33:36 +0200 |
commit | d9c70c7b8cdcde0827e167c61f60f862bc9a3ba8 (patch) | |
tree | 73f2db0edf86a89e4ecef27d668b5cf52ffe9903 /llvm_mode | |
parent | 7ae61e7393fb1f420044b8640a01cea6c1162a8d (diff) | |
download | afl++-d9c70c7b8cdcde0827e167c61f60f862bc9a3ba8.tar.gz |
add explicit llvm library for OpenBSD
Diffstat (limited to 'llvm_mode')
-rw-r--r-- | llvm_mode/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile index efabd6b4..815ac59d 100644 --- a/llvm_mode/Makefile +++ b/llvm_mode/Makefile @@ -55,6 +55,10 @@ ifeq "$(shell uname)" "Darwin" CLANG_LFL += -Wl,-flat_namespace -Wl,-undefined,suppress endif +ifeq "$(shell uname)" "OpenBSD" + CLANG_LFL += `$(LLVM_CONFIG) --libdir`/libLLVM.so.0.0 +endif + # We were using llvm-config --bindir to get the location of clang, but # this seems to be busted on some distros, so using the one in $PATH is # probably better. |