diff options
author | Joshua Colp <jcolp@digium.com> | 2018-03-14 06:17:01 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2018-03-14 06:17:01 -0500 |
commit | baf06002fe426d7c309fd8e81c5c6b8129f21f5b (patch) | |
tree | 1a16ddae5797fd92ecf7741dfc6042889edb13fc /Makefile | |
parent | 6d81a2a684e75e301fffb5df6671057794e4d43d (diff) | |
parent | 5b525c9781ce63e9d8143adc3666f87cb12bacc7 (diff) |
Merge "BuildSystem: Add NetBSD."
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -217,7 +217,9 @@ ifeq ($(AST_DEVMODE),yes) endif endif -ifneq ($(findstring BSD,$(OSARCH)),) +ifeq ($(OSARCH),NetBSD) + _ASTCFLAGS+=-isystem /usr/pkg/include +else ifneq ($(findstring BSD,$(OSARCH)),) _ASTCFLAGS+=-isystem /usr/local/include endif @@ -284,7 +286,9 @@ else # These are used for all but Darwin SOLINK=-shared DYLINK=$(SOLINK) - ifneq ($(findstring BSD,$(OSARCH)),) + ifeq ($(OSARCH),NetBSD) + _ASTLDFLAGS+=-L/usr/pkg/lib + else ifneq ($(findstring BSD,$(OSARCH)),) _ASTLDFLAGS+=-L/usr/local/lib endif endif |