Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4dca0e84
Commit
4dca0e84
authored
Mar 21, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib/lua: added support for iOS
parent
9d0a7c47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletion
+32
-1
contrib/src/lua/lua-ios-support.patch
contrib/src/lua/lua-ios-support.patch
+25
-0
contrib/src/lua/rules.mak
contrib/src/lua/rules.mak
+7
-1
No files found.
contrib/src/lua/lua-ios-support.patch
0 → 100644
View file @
4dca0e84
diff -ru lua/Makefile lua-f/Makefile
--- lua/Makefile 2008-08-12 02:40:48.000000000 +0200
+++ lua-f/Makefile 2012-03-21 13:58:30.000000000 +0100
@@ -38,7 +38,7 @@
# == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
# Convenience platforms targets.
-PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
+PLATS= aix ansi bsd freebsd generic linux ios macosx mingw posix solaris
# What to install.
TO_BIN= lua luac
diff -ru lua/src/Makefile lua-f/src/Makefile
--- lua/src/Makefile 2012-03-21 13:58:59.000000000 +0100
+++ lua-f/src/Makefile 2012-03-21 13:57:08.000000000 +0100
@@ -98,6 +98,9 @@
linux:
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl"
+ios:
+ $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX
+
macosx:
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"
# use this on Mac OS X 10.3-
contrib/src/lua/rules.mak
View file @
4dca0e84
...
...
@@ -14,6 +14,9 @@ endif
ifdef
HAVE_MACOSX
LUA_TARGET
:=
macosx
endif
ifdef
HAVE_IOS
LUA_TARGET
:=
ios
endif
ifdef
HAVE_WIN32
LUA_TARGET
:=
mingw
endif
...
...
@@ -34,12 +37,15 @@ lua: lua-$(LUA_VERSION).tar.gz .sum-lua
$(APPLY)
$(SRC)
/lua/lua-noreadline.patch
$(APPLY)
$(SRC)
/lua/luac-32bits.patch
$(APPLY)
$(SRC)
/lua/no-localeconv.patch
ifdef
HAVE_
MACOSX
ifdef
HAVE_
DARWIN_OS
(
cd
$(UNPACK_DIR)
&&
\
sed
-e
's%gcc%
$(CC)
%'
\
-e
's%LDFLAGS=%LDFLAGS=
$(EXTRA_CFLAGS)
$(EXTRA_LDFLAGS)
%'
\
-i
.orig src/Makefile
)
endif
ifdef
HAVE_IOS
$(APPLY)
$(SRC)
/lua/lua-ios-support.patch
endif
ifdef
HAVE_WIN32
cd
$(UNPACK_DIR)
&&
sed
-i
.orig
-e
's/lua luac/lua.exe/'
Makefile
endif
...
...
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