MinGW can't build with VS .lib files :P

This commit is contained in:
Linus Probert 2017-12-21 12:22:37 +01:00
parent 42aa1cbe86
commit 3504dfc7d1
2 changed files with 5 additions and 4 deletions

View File

@ -46,11 +46,11 @@ before_build:
%DEPENDS% copy SDL2_ttf-2.0.14\%ARCH%\bin\*.dll %PREFIX%\lib > nul %DEPENDS% copy SDL2_ttf-2.0.14\%ARCH%\bin\*.dll %PREFIX%\lib > nul
# Lua # Lua
- ps: (New-Object Net.WebClient).DownloadFile("https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/lua-5.3.4_Win32_vc14_lib.zip/download", "c:\lua\lua-5.3.4_Win32_vc14_lib.zip") - ps: (New-Object Net.WebClient).DownloadFile("https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/lua-5.3.4_Win32_mingw4_lib.zip/download", "c:\lua\lua-5.3.4_Win32_mingw4_lib.zip")
- |- - |-
%DEPENDS% 7z x "c:\lua\lua-5.3.4_Win32_vc14_lib.zip" -o"c:\lua" > nul %DEPENDS% 7z x "c:\lua\lua-5.3.4_Win32_mingw4_lib.zip" -o"c:\lua" > nul
%DEPENDS% copy c:\lua\include\* %PREFIX%\include > nul %DEPENDS% copy c:\lua\include\*.h %PREFIX%\include > nul
%DEPENDS% copy c:\lua\lua53.lib %PREFIX%\lib > nul %DEPENDS% copy c:\lua\liblua53.a %PREFIX%\lib > nul
build_script: build_script:
- |- - |-

View File

@ -1,3 +1,4 @@
#include <stdlib.h>
#include "sprite.h" #include "sprite.h"
#include "util.h" #include "util.h"