mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
BuildSystem: Add NetBSD.
Headers, libraries, and rpath. ASTERISK-27728 ASTERISK-11015 Reported by: Curt Sampson Change-Id: I50aa5fcd095937df32a2e33307caac7e79a8b5b7
This commit is contained in:
8
Makefile
8
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user