From b927b80e1065d8e0a449c91635522f80189cae56 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Sat, 16 May 2020 20:30:07 +0200 Subject: [PATCH] GNUmakefile: add paths for FreeBSD 3rd party packages --- GNUmakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 7d9e6d83..34539cec 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -89,6 +89,11 @@ override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations\ -I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \ -DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\" +ifeq "$(shell uname -s)" "FreeBSD" + override CFLAGS += -I /usr/local/include/ + LDFLAGS += -L /usr/local/lib/ +endif + ifeq "$(shell uname -s)" "OpenBSD" override CFLAGS += -I /usr/local/include/ LDFLAGS += -L /usr/local/lib/