diff options
| author | Sébastien Marie <semarie@online.fr> | 2022-02-26 08:21:46 +0000 |
|---|---|---|
| committer | Sébastien Marie <semarie@online.fr> | 2022-02-26 08:21:46 +0000 |
| commit | 57862846a21a8da2a658e1bea97c52577ae4040a (patch) | |
| tree | a493f90ece6be056cdbc08540ad1b184e9cf06c3 | |
| parent | 8e270d3a99fc4a2369c622ae2de6395d7bfeb0c9 (diff) | |
tests/vendor: pass extra linker flags
on OpenBSD, botan library is third-party and live in /usr/local which isn't a path included by default in linker.
| -rw-r--r-- | tests/vendor/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/vendor/Makefile b/tests/vendor/Makefile index f0a456bae..341067c6e 100644 --- a/tests/vendor/Makefile +++ b/tests/vendor/Makefile @@ -1,6 +1,13 @@ ODIN=../../odin +ODINFLAGS= + +OS=$(shell uname) + +ifeq ($(OS), OpenBSD) + ODINFLAGS:=$(ODINFLAGS) -extra-linker-flags:-L/usr/local/lib +endif all: botan_test botan_test: - $(ODIN) run botan -out=botan_hash -o:speed -no-bounds-check
\ No newline at end of file + $(ODIN) run botan -out=botan_hash -o:speed -no-bounds-check $(ODINFLAGS) |