Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
4db7858c
Commit
4db7858c
authored
Feb 09, 2009
by
Rémi Denis-Courmont
Committed by
Rémi Denis-Courmont
May 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LUA contrib: discard Linux readline support (not needed)
parent
1a281863
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-0
extras/contrib/src/Patches/lua-noreadline.patch
extras/contrib/src/Patches/lua-noreadline.patch
+24
-0
No files found.
extras/contrib/src/Makefile
View file @
4db7858c
...
...
@@ -656,6 +656,7 @@ ifdef HAVE_WIN32
(
cd
$<
;
$(HOSTCC)
make
$(LUA_MAKEPLATEFORM)
;
cd
src
;
$(HOSTCC)
make liblua.a
;
cd
..
;
$(HOSTCC)
make
install
INSTALL_TOP
=
$(PREFIX)
;
$(RANLIB)
$(PREFIX)
/lib/liblua.a
)
(
cd
$<
;
sed
-i
.orig
's@prefix= /usr/local@prefix=
$(PREFIX)
@'
etc/lua.pc
;
mkdir
-p
$(PREFIX)
/lib/pkgconfig
;
cp
etc/lua.pc
$(PREFIX)
/lib/pkgconfig
)
else
(
cd
$<
;
patch
-p1
)
< Patches/lua-noreadline.patch
(
cd
$<
;
$(HOSTCC)
make
$(LUA_MAKEPLATEFORM)
&&
make
install
INSTALL_TOP
=
$(PREFIX)
)
endif
touch
$@
...
...
extras/contrib/src/Patches/lua-noreadline.patch
0 → 100644
View file @
4db7858c
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)
Write
Preview
Markdown
is supported
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