summaryrefslogtreecommitdiff
blob: a88093b40ffe30a5b46dc5ecb44cc9af8ad25061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: mysql-gui-common/source/linux/MySQLGRT/MGRT.cc
===================================================================
--- mysql-gui-common/source/linux/MySQLGRT/MGRT.cc	(revision 1767)
+++ mysql-gui-common/source/linux/MySQLGRT/MGRT.cc	(working copy)
@@ -284,6 +284,7 @@
   flush_messages();
 #endif
 
+#ifdef ENABLE_LUA_MODULES
   // lua modules
   out_text("Loading Lua modules...");
   loader= myx_lua_init_loader(_grt, &error, std::string(resourcePath+"/lua").c_str());
@@ -303,6 +304,7 @@
   else
     out_text(ufmt("Error initializing Lua module loader (%i)\n",error));
   flush_messages();
+#endif
 
   // builtin c++
   out_text("Initializing C++ loader...");