Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5e1fd0ff
Commit
5e1fd0ff
authored
May 08, 2011
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: fix cross-compilation of lua
parent
6a065215
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
extras/contrib/src/contrib-src.mak
extras/contrib/src/contrib-src.mak
+1
-1
No files found.
extras/contrib/src/contrib-src.mak
View file @
5e1fd0ff
...
...
@@ -562,7 +562,7 @@ endif
.lua
:
lua
ifdef
HAVE_WIN32
(
cd
$<
&&
sed
-i
.orig
's/lua luac/lua.exe/'
Makefile
&&
cd
src
&&
sed
-i
.orig
's/CC=/#CC=/'
Makefile
&&
sed
-i
's/
strip/
$(STRIP
)
/'
Makefile
&&
cd
../..
)
(
cd
$<
&&
sed
-i
.orig
's/lua luac/lua.exe/'
Makefile
&&
cd
src
&&
sed
-i
.orig
's/CC=/#CC=/'
Makefile
&&
sed
-i
's/
=strip/=
$(STRIP)
/;s/= ranlib/=
$(RANLIB
)
/'
Makefile
&&
cd
../..
)
(
cd
$<
&&
$(HOSTCC)
make
$
(
LUA_MAKEPLATEFORM-1
)&&
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
...
...
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