lua-noreadline.patch
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:1k
源码类别:
midi
开发平台:
Unix_Linux
- LUA: do not use readline on Linux
- diff -ru lua-5.1/src/Makefile lua/src/Makefile
- --- lua-5.1/src/Makefile 2006-02-16 17:45:09.000000000 +0200
- +++ lua/src/Makefile 2009-02-09 23:35:21.000000000 +0200
- @@ -92,7 +92,7 @@
- $(MAKE) all MYCFLAGS=
- linux:
- - $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
- + $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl"
- macosx:
- $(MAKE) all MYCFLAGS=-DLUA_USE_MACOSX
- diff -ru lua-5.1/src/luaconf.h lua/src/luaconf.h
- --- lua-5.1/src/luaconf.h 2006-02-10 19:44:06.000000000 +0200
- +++ lua/src/luaconf.h 2009-02-09 23:33:29.000000000 +0200
- @@ -36,7 +36,6 @@
- #if defined(LUA_USE_LINUX)
- #define LUA_USE_POSIX
- #define LUA_USE_DLOPEN /* needs an extra library: -ldl */
- -#define LUA_USE_READLINE /* needs some extra libraries */
- #endif
- #if defined(LUA_USE_MACOSX)