From 0dba5a39fc79fba064f1d7180a5eb6539a68c2b5 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Wed, 24 Jun 2015 14:23:48 +0200 Subject: freebsd: add include path to /local/include (thanks to Hellmuth Michaelis) --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d101615..0898bad 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,12 @@ ifeq ($(OS),win32) STATIC := yes endif +ifeq ($(OS),freebsd) +ifneq ($(SYSROOT),) +CFLAGS += -I$(SYSROOT)/local/include +endif +endif + # Optional dependencies ifneq ($(USE_VIDEO),) -- cgit v1.2.3