feat: add MinGW cross-compilation support for Windows builds on Linux (#2108)

This commit is contained in:
涵曦
2025-11-26 00:07:43 +08:00
committed by GitHub
parent 5608d39789
commit 234e134967
19 changed files with 3101 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ $(LUA_CLIB_PATH)/lpeg.so : 3rd/lpeg/lpcap.c 3rd/lpeg/lpcode.c 3rd/lpeg/lpprint.c
clean :
rm -f $(SKYNET_BUILD_PATH)/skynet $(CSERVICE_PATH)/*.so $(LUA_CLIB_PATH)/*.so && \
rm -rf $(SKYNET_BUILD_PATH)/*.dSYM $(CSERVICE_PATH)/*.dSYM $(LUA_CLIB_PATH)/*.dSYM
$(MAKE) clean -f mingw.mk
cleanall: clean
ifneq (,$(wildcard 3rd/jemalloc/Makefile))
@@ -128,3 +129,4 @@ ifneq (,$(wildcard 3rd/jemalloc/Makefile))
endif
cd 3rd/lua && $(MAKE) clean
rm -f $(LUA_STATICLIB)
$(MAKE) cleanall -f mingw.mk