summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/Lua/01_disable_dl.diff15
-rw-r--r--3rdParty/Lua/src/luaconf.h4
2 files changed, 18 insertions, 1 deletions
diff --git a/3rdParty/Lua/01_disable_dl.diff b/3rdParty/Lua/01_disable_dl.diff
new file mode 100644
index 0000000..3324a78
--- /dev/null
+++ b/3rdParty/Lua/01_disable_dl.diff
@@ -0,0 +1,15 @@
+diff --git a/3rdParty/Lua/src/luaconf.h b/3rdParty/Lua/src/luaconf.h
+index e2cb261..ee37a9f 100644
+--- a/3rdParty/Lua/src/luaconf.h
++++ b/3rdParty/Lua/src/luaconf.h
+@@ -757,7 +757,9 @@ union luai_Cast { double l_d; long l_l; };
+ ** without modifying the main part of the file.
+ */
+
+-
++#undef LUA_DL_DYLD
++#undef LUA_DL_DLOPEN
++#undef LUA_DL_DLL
+
+ #endif
+
diff --git a/3rdParty/Lua/src/luaconf.h b/3rdParty/Lua/src/luaconf.h
index e2cb261..ee37a9f 100644
--- a/3rdParty/Lua/src/luaconf.h
+++ b/3rdParty/Lua/src/luaconf.h
@@ -757,7 +757,9 @@ union luai_Cast { double l_d; long l_l; };
** without modifying the main part of the file.
*/
-
+#undef LUA_DL_DYLD
+#undef LUA_DL_DLOPEN
+#undef LUA_DL_DLL
#endif