Merge pull request #604 from micmac1/ast-lua

asterisk: link in libdl when linking to liblua
This commit is contained in:
Jiri Slachta 2021-01-03 20:17:00 +01:00 committed by GitHub
commit 655badbc10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View file

@ -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

View 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