diff options
author | Remko Tronçon <git@el-tramo.be> | 2013-09-16 17:34:56 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2013-09-16 17:34:56 (GMT) |
commit | 4b618b1922e531299aafcdf4dc6ef8782de1ee46 (patch) | |
tree | 933cbed6b4fbd702db4b8eb94f6a6b188e7f0611 /3rdParty/Lua | |
parent | 534a87a59c15de5024fbf58a11225f17c683f76c (diff) | |
download | swift-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.diff | 15 | ||||
-rw-r--r-- | 3rdParty/Lua/src/luaconf.h | 4 |
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 |