mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
add smarter checking for termcap support, which fixes a build problem when
ncurses is statically compiled with term info support, which is provided in the statically compiled editline library that we are including. (issue #6948, original patch by casper, modified to use the features of AST_EXT_LIB) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
8
Makefile
8
Makefile
@@ -365,9 +365,9 @@ ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/dlfcn.h),)
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH),Linux)
|
||||
LIBS+=-ldl -lpthread -lncurses -lm -lresolv #-lnjamd
|
||||
LIBS+=-ldl -lpthread $(EDITLINE_LIBS) -lm -lresolv #-lnjamd
|
||||
else
|
||||
LIBS+=-lncurses -lm
|
||||
LIBS+=$(EDITLINE_LIBS) -lm
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH),Darwin)
|
||||
@@ -395,11 +395,11 @@ ifeq ($(OSARCH),FreeBSD)
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH),NetBSD)
|
||||
LIBS+=-lpthread -lcrypto -lm -L$(CROSS_COMPILE_TARGET)/usr/pkg/lib -lncurses
|
||||
LIBS+=-lpthread -lcrypto -lm -L$(CROSS_COMPILE_TARGET)/usr/pkg/lib $(EDITLINE_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH),OpenBSD)
|
||||
LIBS+=-lcrypto -lpthread -lm -lncurses
|
||||
LIBS+=-lcrypto -lpthread -lm $(EDITLINE_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(OSARCH),SunOS)
|
||||
|
Reference in New Issue
Block a user