summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slachta2021-01-03 19:17:00 +0000
committerGitHub2021-01-03 19:17:00 +0000
commit655badbc103e294747f3c5fff9af713b26523853 (patch)
treee650e820692c2bc9cfa118590a9031292e01093e
parent9994df7ffd90d05eee00effedff7fc65ce6cb74d (diff)
parent150b85ab350844f1481b9a9d49984b3e16cddd40 (diff)
downloadtelephony-655badbc103e294747f3c5fff9af713b26523853.tar.gz
Merge pull request #604 from micmac1/ast-lua
asterisk: link in libdl when linking to liblua
-rw-r--r--net/asterisk/Makefile2
-rw-r--r--net/asterisk/patches/150-lua-ldl.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index f4c288e..e93df72 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk
PKG_VERSION:=18.1.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases
diff --git a/net/asterisk/patches/150-lua-ldl.patch b/net/asterisk/patches/150-lua-ldl.patch
new file mode 100644
index 0000000..a1b470b
--- /dev/null
+++ b/net/asterisk/patches/150-lua-ldl.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -2581,7 +2581,7 @@ for ver in ; do
+ done
+
+ # Some distributions (like openSUSE and NetBSD) remove the 5.x suffix.
+-AST_EXT_LIB_CHECK([LUA], [lua], [luaL_newstate], [lua.h], [-lm])
++AST_EXT_LIB_CHECK([LUA], [lua], [luaL_newstate], [lua.h], [-lm -ldl])
+
+ # Accept either RADIUS client library, their APIs are fully compatible,
+ # just different header filenames and different SONAMEs