Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
2b82c9fd
Commit
2b82c9fd
authored
May 09, 2013
by
Rafaël Carré
Browse files
contrib: lua: don't build dynamic libraries loading code
parent
39e246e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/src/lua/no-dylibs.patch
0 → 100644
View file @
2b82c9fd
--- lua/src/luaconf.h.orig 2013-05-09 15:29:05.797554571 +0200
+++ lua/src/luaconf.h 2013-05-09 15:29:10.337554380 +0200
@@ -42,7 +42,7 @@
#if defined(LUA_USE_MACOSX)
#define LUA_USE_POSIX
-#define LUA_DL_DYLD /* does not need extra library */
+//#define LUA_DL_DYLD /* does not need extra library */
#endif
@@ -691,11 +691,11 @@
** By default, _WIN32 gets LUA_DL_DLL and MAC OS X gets LUA_DL_DYLD.
*/
#if defined(LUA_USE_DLOPEN)
-#define LUA_DL_DLOPEN
+//#define LUA_DL_DLOPEN
#endif
#if defined(LUA_WIN)
-#define LUA_DL_DLL
+//#define LUA_DL_DLL
#endif
contrib/src/lua/rules.mak
View file @
2b82c9fd
...
...
@@ -35,6 +35,7 @@ $(TARBALLS)/lua-$(LUA_VERSION).tar.gz:
lua
:
lua-$(LUA_VERSION).tar.gz .sum-lua
$(UNPACK)
$(APPLY)
$(SRC)
/lua/lua-noreadline.patch
$(APPLY)
$(SRC)
/lua/no-dylibs.patch
$(APPLY)
$(SRC)
/lua/luac-32bits.patch
$(APPLY)
$(SRC)
/lua/no-localeconv.patch
ifdef
HAVE_DARWIN_OS
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment