improve build scripts

This commit is contained in:
lixianjing 2022-04-18 17:48:40 +08:00
parent abda0ab74a
commit 1227647d95
2 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,7 @@ elif OS_NAME == 'Windows':
os.makedirs(os.path.abspath(TK_LIB_DIR))
if TOOLS_NAME == '':
OS_LIBS = ['gdi32', 'user32', 'winmm.lib', 'imm32.lib', 'version.lib', 'shell32.lib',
'ole32.lib', 'Oleaut32.lib', 'Advapi32.lib', 'DelayImp.lib', 'psapi.lib']
'ole32.lib', 'Oleaut32.lib', 'Advapi32.lib', 'DelayImp.lib', 'psapi.lib', "ws2_32"]
OS_FLAGS = '-DWIN32 -D_WIN32 -DWINDOWS /EHsc -D_CONSOLE /DEBUG /Od /FS /Z7 /utf-8 /MD '
if TARGET_ARCH == 'x86':
OS_LINKFLAGS = '/MACHINE:X86 /DEBUG '

View File

@ -3,6 +3,7 @@
* 增加函数path\_app\_root\_ex
* 完善ui\_loader\_load对xml的支持。
* 增加函数assets\_manager\_set\_fallback\_load\_asset
* awtk修复缺少连接ws2_32类库的问题 (感谢智明提供补丁)。
2022/04/17
* fscript增加函数widget\_add\_value