summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2018-03-22 11:43:18 +0100
committerAlexander Traud <pabstraud@compuserve.com>2018-03-22 11:43:18 +0100
commitd6fda173a40e078db219e9aaceb7f3ce9ba1b4e4 (patch)
tree944ff5a1594691872cbdb2be53cdd54a4f3a3556 /main
parentfa892d8dfd789af2e93f33ebf6686104dd84ad4a (diff)
BuildSystem: With external editline, do not require libs for internal editline.
ASTERISK-27761 Change-Id: Ib17a7415297a210cfcdbf149e4df9b6edadbfab6
Diffstat (limited to 'main')
-rw-r--r--main/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/Makefile b/main/Makefile
index fb985b9b8..bef70e966 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -57,9 +57,9 @@ ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-musl kfreebs
ifneq (x$(CAP_LIB),x)
AST_LIBS+=$(CAP_LIB)
endif
- AST_LIBS+=-lpthread $(EDITLINE_LIB) -lm -lresolv
+ AST_LIBS+=-lpthread -lm -lresolv
else
- AST_LIBS+=$(EDITLINE_LIB) -lm
+ AST_LIBS+=-lm
endif
ifneq ($(findstring BETTER_BACKTRACES,$(MENUSELECT_CFLAGS)),)
@@ -90,11 +90,11 @@ ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
ASTLINK+=-shared -Wl,--out-implib,libasterisk.a
endif
ifeq ($(OSARCH),NetBSD)
- AST_LIBS+=-lpthread -lcrypto -lm -L/usr/pkg/lib $(EDITLINE_LIB)
+ AST_LIBS+=-lpthread -lcrypto -lm -L/usr/pkg/lib
endif
ifeq ($(OSARCH),OpenBSD)
- AST_LIBS+=-lcrypto -lpthread -lm $(EDITLINE_LIB)
+ AST_LIBS+=-lcrypto -lpthread -lm
endif
ifeq ($(OSARCH),SunOS)
@@ -354,7 +354,6 @@ endif
rm -f .libasteriskpj*
rm -f asterisk.exports libasteriskssl.exports libasteriskpj.exports
- @if [ -f editline/Makefile ]; then $(MAKE) -C editline distclean ; fi
@$(MAKE) -C stdtime clean
rm -f libresample/src/*.o
rm -f *.tmp