Commit bdae0096 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

contrib: lua: don´t mix native and cross compiled objects

Also don´t clean.
parent d002305e
...@@ -79,9 +79,5 @@ ifdef HAVE_WIN32 ...@@ -79,9 +79,5 @@ ifdef HAVE_WIN32
cd $< && $(RANLIB) "$(PREFIX)/lib/liblua.a" cd $< && $(RANLIB) "$(PREFIX)/lib/liblua.a"
mkdir -p -- "$(PREFIX)/lib/pkgconfig" mkdir -p -- "$(PREFIX)/lib/pkgconfig"
cp $</etc/lua.pc "$(PREFIX)/lib/pkgconfig/" cp $</etc/lua.pc "$(PREFIX)/lib/pkgconfig/"
endif
ifdef HAVE_CROSS_COMPILE
cd $</src && $(MAKE) clean && $(MAKE) liblua.a && ranlib liblua.a && $(MAKE) luac
cp $</src/luac $(PREFIX)/bin
endif endif
touch $@ touch $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment