mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
NetBSD build doesn't always find libncurses (bug #2560)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
Makefile
4
Makefile
@@ -146,7 +146,7 @@ endif # FreeBSD
|
|||||||
|
|
||||||
ifeq (${OSARCH},NetBSD)
|
ifeq (${OSARCH},NetBSD)
|
||||||
CFLAGS+=-pthread
|
CFLAGS+=-pthread
|
||||||
INCLUDE+=-I/usr/local/include
|
INCLUDE+=-I/usr/local/include -I/usr/pkg/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${OSARCH},OpenBSD)
|
ifeq (${OSARCH},OpenBSD)
|
||||||
@@ -197,7 +197,7 @@ ifeq (${OSARCH},FreeBSD)
|
|||||||
LIBS+=-lcrypto
|
LIBS+=-lcrypto
|
||||||
endif
|
endif
|
||||||
ifeq (${OSARCH},NetBSD)
|
ifeq (${OSARCH},NetBSD)
|
||||||
LIBS+=-lpthread -lcrypto -lm -L/usr/local/lib -lncurses
|
LIBS+=-lpthread -lcrypto -lm -L/usr/local/lib -L/usr/pkg/lib -lncurses
|
||||||
endif
|
endif
|
||||||
ifeq (${OSARCH},OpenBSD)
|
ifeq (${OSARCH},OpenBSD)
|
||||||
LIBS=-lcrypto -lpthread -lm -lncurses
|
LIBS=-lcrypto -lpthread -lm -lncurses
|
||||||
|
Reference in New Issue
Block a user