summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-30 19:25:45 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-30 19:25:45 +0100
commit8fd2d9424a350a38780f956ce24bab25f034c3db (patch)
tree5e51a19fe2f72f9f878008a8b1a32d3b54a39440
parentb74fd8b108929fb41fde4085fc780b95c0982fc0 (diff)
openbsd: add system include path to /usr/local/include
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f5b4c25..924ccc4 100644
--- a/Makefile
+++ b/Makefile
@@ -66,10 +66,13 @@ ifeq ($(OS),win32)
STATIC := yes
endif
-ifeq ($(OS),freebsd)
ifneq ($(SYSROOT),)
+ifeq ($(OS),freebsd)
CFLAGS += -I$(SYSROOT)/local/include
endif
+ifeq ($(OS),openbsd)
+CFLAGS += -isystem $(SYSROOT)/local/include
+endif
endif