Merge pull request #604 from micmac1/ast-lua
asterisk: link in libdl when linking to liblua
This commit is contained in:
commit
655badbc10
2 changed files with 12 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=asterisk
|
PKG_NAME:=asterisk
|
||||||
PKG_VERSION:=18.1.1
|
PKG_VERSION:=18.1.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases
|
PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases
|
||||||
|
|
11
net/asterisk/patches/150-lua-ldl.patch
Normal file
11
net/asterisk/patches/150-lua-ldl.patch
Normal file
|
@ -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
|
Loading…
Reference in a new issue