From 1227647d9567600f5b935fbf67b21dbca27d27f8 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Mon, 18 Apr 2022 17:48:40 +0800 Subject: [PATCH] improve build scripts --- awtk_config_common.py | 2 +- docs/changes.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/awtk_config_common.py b/awtk_config_common.py index bd2134a3c..b3fd7e3cc 100644 --- a/awtk_config_common.py +++ b/awtk_config_common.py @@ -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 ' diff --git a/docs/changes.md b/docs/changes.md index 70a209432..70972b314 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -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