[vlc-commits] contribs: luac: Fix cross compilation for win32

Hugo Beauzée-Luyssen git at videolan.org
Wed Aug 24 14:34:27 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Aug 24 14:27:27 2016 +0200| [6177149d79ea3a4e4d4180847c5d18179189385d] | committer: Hugo Beauzée-Luyssen

contribs: luac: Fix cross compilation for win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6177149d79ea3a4e4d4180847c5d18179189385d
---

 contrib/src/lua/rules.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/lua/rules.mak b/contrib/src/lua/rules.mak
index 11287b4..68f8e36 100644
--- a/contrib/src/lua/rules.mak
+++ b/contrib/src/lua/rules.mak
@@ -86,8 +86,10 @@ endif
 	touch $@
 
 ifdef HAVE_WIN32
+ifndef HAVE_CROSS_COMPILE
 LUACVARS=CPPFLAGS="-DLUA_DL_DLL"
 endif
+endif
 
 luac: lua-$(LUA_VERSION).tar.gz .sum-luac
 	# DO NOT use the same intermediate directory as the lua target



More information about the vlc-commits mailing list