diff options
author | Alexander Traud <pabstraud@compuserve.com> | 2018-03-08 16:14:11 +0100 |
---|---|---|
committer | Alexander Traud <pabstraud@compuserve.com> | 2018-03-09 17:09:20 +0100 |
commit | 5b525c9781ce63e9d8143adc3666f87cb12bacc7 (patch) | |
tree | 8c2aef7efe6d26a70bc1d46c00b72f3f6f4d31d0 /Makefile | |
parent | ffdc5c63985c8749eb26a9f5d66b2d796a0623d7 (diff) |
BuildSystem: Add NetBSD.
Headers, libraries, and rpath.
ASTERISK-27728
ASTERISK-11015
Reported by: Curt Sampson
Change-Id: I50aa5fcd095937df32a2e33307caac7e79a8b5b7
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 @@ -282,7 +284,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 |