win32: link statically to avoid any dll dep
This commit is contained in:
parent
5600120b54
commit
115dd1ab00
|
@ -31,8 +31,6 @@ after_build:
|
||||||
|
|
||||||
move %EXE_PATH% artifacts\flycast-win_%PLATFORM%-%CONFIGURATION%-%APPVEYOR_REPO_COMMIT%.exe
|
move %EXE_PATH% artifacts\flycast-win_%PLATFORM%-%CONFIGURATION%-%APPVEYOR_REPO_COMMIT%.exe
|
||||||
|
|
||||||
copy %EXTRA_PATH%\libgcc_s_seh-1.dll artifacts && copy %EXTRA_PATH%\libwinpthread-1.dll artifacts && copy %EXTRA_PATH%\libgomp-1.dll artifacts
|
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: artifacts
|
- path: artifacts
|
||||||
name: flycast-win_$(PLATFORM)-$(CONFIGURATION)-$(APPVEYOR_REPO_COMMIT)
|
name: flycast-win_$(PLATFORM)-$(CONFIGURATION)-$(APPVEYOR_REPO_COMMIT)
|
||||||
|
|
|
@ -253,7 +253,7 @@ else ifneq (,$(findstring win32,$(platform)))
|
||||||
NOT_ARM := 1
|
NOT_ARM := 1
|
||||||
CFLAGS += -fno-builtin-sqrtf -funroll-loops -DHAVE_FSEEKO -D TARGET_NO_AREC
|
CFLAGS += -fno-builtin-sqrtf -funroll-loops -DHAVE_FSEEKO -D TARGET_NO_AREC
|
||||||
LDFLAGS += -static-libgcc -static-libstdc++ -Wl,-subsystem,windows
|
LDFLAGS += -static-libgcc -static-libstdc++ -Wl,-subsystem,windows
|
||||||
LIBS := -lopengl32 -lwinmm -lgdi32 -lwsock32 -ldsound -lcomctl32 -lcomdlg32 -lxinput -liphlpapi
|
LIBS := -lopengl32 -lwinmm -lgdi32 -lwsock32 -ldsound -lcomctl32 -lcomdlg32 -lxinput -liphlpapi -Wl,-Bstatic -lgmp -Wl,-Bstatic -lgomp
|
||||||
PLATFORM_EXT := exe
|
PLATFORM_EXT := exe
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
|
|
Loading…
Reference in New Issue