summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-09-16 17:34:56 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-09-16 17:34:56 (GMT)
commit4b618b1922e531299aafcdf4dc6ef8782de1ee46 (patch)
tree933cbed6b4fbd702db4b8eb94f6a6b188e7f0611 /3rdParty/Lua
parent534a87a59c15de5024fbf58a11225f17c683f76c (diff)
downloadswift-contrib-4b618b1922e531299aafcdf4dc6ef8782de1ee46.zip
swift-contrib-4b618b1922e531299aafcdf4dc6ef8782de1ee46.tar.bz2
Disable dynamic loading in bundled Lua
Change-Id: Ic1c4b9020db28c8646139ee75bf65fb8ac2886e3
Diffstat (limited to '3rdParty/Lua')
-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