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
GSoC
GSoC2018
macOS
vlc
Commits
12a27bac
Commit
12a27bac
authored
Jul 17, 2007
by
damienf
Browse files
contribs: fix lua compile on cygwin/mingw/win32
parent
49c878c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/Makefile
View file @
12a27bac
...
...
@@ -573,7 +573,7 @@ lua: lua-$(LUA_VERSION).tar.gz
.lua
:
lua
ifdef
HAVE_WIN32
(
cd
$<
;
sed
-i
.orig
's/lua luac/lua.exe/'
Makefile
;
cd
src
;
sed
-i
.orig
's/
gcc/
$(
CC
)
/'
Makefile
;
cd
../..
;
)
(
cd
$<
;
sed
-i
.orig
's/lua luac/lua.exe/'
Makefile
;
cd
src
;
sed
-i
.orig
's/
CC=/#
CC
=
/'
Makefile
;
cd
../..
;
)
(
cd
$<
;
$(HOSTCC)
make
$(LUA_MAKEPLATEFORM)
;
cd
src
;
$(HOSTCC)
make liblua.a
;
cd
..
;
$(HOSTCC)
make
install
INSTALL_TOP
=
$(PREFIX)
)
else
(
cd
$<
;
$(HOSTCC)
make
$(LUA_MAKEPLATEFORM)
&&
make
install
INSTALL_TOP
=
$(PREFIX)
)
...
...
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