improve build scripts

This commit is contained in:
lixianjing 2021-09-08 07:38:23 +08:00
parent 01a5dbee57
commit 1c62fc22ed

View File

@ -180,6 +180,7 @@ if OS_NAME == 'Darwin':
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DBGFX_CONFIG_RENDERER_METAL=1 ' COMMON_CCFLAGS = COMMON_CCFLAGS + ' -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DBGFX_CONFIG_RENDERER_METAL=1 '
AWTK_DLL_DEPS_LIBS = AWTK_STATIC_LIBS + NANOVG_BACKEND_LIBS + ['SDL2', 'glad'] + OS_LIBS AWTK_DLL_DEPS_LIBS = AWTK_STATIC_LIBS + NANOVG_BACKEND_LIBS + ['SDL2', 'glad'] + OS_LIBS
OS_WHOLE_ARCHIVE=' -all_load ' OS_WHOLE_ARCHIVE=' -all_load '
OS_LIBPATH=['/usr/local/lib/']
elif OS_NAME == 'Linux': elif OS_NAME == 'Linux':
TOOLS_NAME = '' TOOLS_NAME = ''