From 4b618b1922e531299aafcdf4dc6ef8782de1ee46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Mon, 16 Sep 2013 19:34:56 +0200 Subject: Disable dynamic loading in bundled Lua Change-Id: Ic1c4b9020db28c8646139ee75bf65fb8ac2886e3 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 -- cgit v0.10.2-6-g49f6