[sr-dev] git:master:55e3b726: app_lua: update doc about LUAJIT variable and building against LuaJIT libraries.

Vicente Hernando vhernando at systemonenoc.com
Fri Dec 22 15:11:50 CET 2017


Module: kamailio
Branch: master
Commit: 55e3b72692d500a988b085c73fefa87e91ff068b
URL: https://github.com/kamailio/kamailio/commit/55e3b72692d500a988b085c73fefa87e91ff068b

Author: Vicente Hernando <vhernando at systemonenoc.com>
Committer: Vicente Hernando <vhernando at systemonenoc.com>
Date: 2017-12-22T15:01:35+01:00

app_lua: update doc about LUAJIT variable and building against LuaJIT libraries.

---

Modified: src/modules/app_lua/doc/app_lua_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/55e3b72692d500a988b085c73fefa87e91ff068b.diff
Patch: https://github.com/kamailio/kamailio/commit/55e3b72692d500a988b085c73fefa87e91ff068b.patch

---

diff --git a/src/modules/app_lua/doc/app_lua_admin.xml b/src/modules/app_lua/doc/app_lua_admin.xml
index 38bf17d744..edce6a5056 100644
--- a/src/modules/app_lua/doc/app_lua_admin.xml
+++ b/src/modules/app_lua/doc/app_lua_admin.xml
@@ -75,6 +75,24 @@
 			</para>
 		    </listitem>
 	    	</itemizedlist>
+			<para>
+			    This module can be compiled against LuaJIT compiler (instead of
+			    standard Lua). Then this library is needed:
+			    <itemizedlist>
+				    <listitem>
+				    <emphasis>libluajit-5.1-dev</emphasis> - LuaJIT devel library.
+				    </listitem>
+				</itemizedlist>
+				<para>
+				    To enable that, LUAJIT variable has to be set.
+					<example>
+					    <title>Build against LuaJIT libraries</title>
+					E.g: $ LUAJIT="yes" make modules modules=modules/app_lua
+					</example>
+			    (Warning: LuaJIT version is 5.1, so scripts prepared for higher Lua versions
+			    may not work with LuaJIT)
+				</para>
+			</para>
 	    </para>
 	</section>
     </section>




More information about the sr-dev mailing list