From a3b84ec9c8ec8f3d1c9183539a742930cd51201d Mon Sep 17 00:00:00 2001 From: PsychoXIVI Date: Mon, 11 Jun 2018 21:14:25 +0200 Subject: [PATCH] Fixed `lua` copy executable command to source from `.exe` --- src/lua.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua.mk b/src/lua.mk index e4254691..2418a694 100644 --- a/src/lua.mk +++ b/src/lua.mk @@ -32,7 +32,7 @@ define $(PKG)_BUILD_COMMON echo 'Libs: -l$(PKG)';) \ > '$(PREFIX)/$(TARGET)/lib/pkgconfig/$(PKG).pc' - cp '$(1)/src/lua' '$(PREFIX)/$(TARGET)/bin/lua.exe' + cp '$(1)/src/lua.exe' '$(PREFIX)/$(TARGET)/bin/lua.exe' || cp '$(1)/src/lua' '$(PREFIX)/$(TARGET)/bin/lua.exe' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \