From 57862846a21a8da2a658e1bea97c52577ae4040a Mon Sep 17 00:00:00 2001 From: Sébastien Marie Date: Sat, 26 Feb 2022 08:21:46 +0000 Subject: 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. --- tests/vendor/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3