diff options
| author | Jiri Slachta | 2021-01-03 19:17:00 +0000 |
|---|---|---|
| committer | GitHub | 2021-01-03 19:17:00 +0000 |
| commit | 655badbc103e294747f3c5fff9af713b26523853 (patch) | |
| tree | e650e820692c2bc9cfa118590a9031292e01093e | |
| parent | 9994df7ffd90d05eee00effedff7fc65ce6cb74d (diff) | |
| parent | 150b85ab350844f1481b9a9d49984b3e16cddd40 (diff) | |
| download | telephony-655badbc103e294747f3c5fff9af713b26523853.tar.gz | |
Merge pull request #604 from micmac1/ast-lua
asterisk: link in libdl when linking to liblua
| -rw-r--r-- | net/asterisk/Makefile | 2 | ||||
| -rw-r--r-- | net/asterisk/patches/150-lua-ldl.patch | 11 |
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 |