add explicit llvm library for OpenBSD

This commit is contained in:
hexcoder- 2019-07-05 20:33:36 +02:00
parent 7ae61e7393
commit d9c70c7b8c

View File

@ -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.