aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/musl-libcap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/asterisk/musl-libcap.patch')
-rw-r--r--main/asterisk/musl-libcap.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/asterisk/musl-libcap.patch b/main/asterisk/musl-libcap.patch
index a414e05fd3..88a0949826 100644
--- a/main/asterisk/musl-libcap.patch
+++ b/main/asterisk/musl-libcap.patch
@@ -27,11 +27,11 @@
--- asterisk-13.3.2.orig/main/Makefile
+++ asterisk-13.3.2/main/Makefile
@@ -42,7 +42,7 @@
- AST_LIBS+=$(CRYPT_LIB)
- AST_LIBS+=$(AST_CLANG_BLOCKS_LIBS)
+ AST_LIBS+=$(RT_LIB)
+ AST_LIBS+=$(SYSTEMD_LIB)
-ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc kfreebsd-gnu),)
+ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-musl kfreebsd-gnu),)
- ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
AST_LIBS+=-ldl
- endif
+ ifneq (x$(CAP_LIB),x)
+ AST_LIBS+=$(CAP_LIB)