Fixed `lua` copy executable command to source from `.exe`

This commit is contained in:
PsychoXIVI 2018-06-11 21:14:25 +02:00 committed by Tony Theodore
parent 3cc7a707d4
commit a3b84ec9c8
1 changed files with 1 additions and 1 deletions

View File

@ -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 \