[asterisk-commits] mnicholson: trunk r231189 - /trunk/pbx/pbx_lua.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 25 09:42:50 CST 2009


Author: mnicholson
Date: Wed Nov 25 09:42:48 2009
New Revision: 231189

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=231189
Log:
Load pbx_lua with global symbols to allow linking with other lua libraries.

Found by Maxim Litnitskiy.

Modified:
    trunk/pbx/pbx_lua.c

Modified: trunk/pbx/pbx_lua.c
URL: http://svnview.digium.com/svn/asterisk/trunk/pbx/pbx_lua.c?view=diff&rev=231189&r1=231188&r2=231189
==============================================================================
--- trunk/pbx/pbx_lua.c (original)
+++ trunk/pbx/pbx_lua.c Wed Nov 25 09:42:48 2009
@@ -1473,7 +1473,7 @@
 	return AST_MODULE_LOAD_SUCCESS;
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Lua PBX Switch",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Lua PBX Switch",
 		.load = load_module,
 		.unload = unload_module,
 		.reload = reload,




More information about the asterisk-commits mailing list