From feb349458e8ae17ede636716ccfa9d97e63f30b1 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 6 Mar 2021 14:06:01 -0500 Subject: Support -flags on all the BSDs --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7d53e76..9e44fdc 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,10 @@ else DISTCHECK_FLAGS := TEST_FLAGS="--verbose" endif +ifeq ($(OS),NetBSD) +LOCAL_LDLIBS += -lutil +endif + ifneq ($(filter asan,$(MAKECMDGOALS)),) LOCAL_CFLAGS += $(ASAN_CFLAGS) SANITIZE := y -- cgit v1.2.3