From 18abdd25e173100596853f7fbc94ed0a6e653538 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Thu, 21 Nov 2024 08:20:15 +0800 Subject: [PATCH] improve awtk_config_common.py for old mac --- awtk_config_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awtk_config_common.py b/awtk_config_common.py index 2aa7535b4..1e0500960 100644 --- a/awtk_config_common.py +++ b/awtk_config_common.py @@ -104,12 +104,12 @@ def joinPath(root, subdir): sdl_path = "/opt/homebrew/Cellar/sdl2/" if not os.path.exists(sdl_path) : # Compatible with old systems - sdl_path = '/usr/local/Cellar/sdl2' + sdl_path = '/usr/local/Cellar/sdl2/' sdl_versions = os.listdir(sdl_path) if len(sdl_versions)==0: print("Can not find the SDL version") exit(-1) - sdl_lib = sdl_path+ sdl_versions[0]+"/lib" + sdl_lib = sdl_path + sdl_versions[0] + "/lib" TOOLS_NAME = '' OS_FLAGS = '-Wall -Wno-unused-function -fPIC -DWITHOUT_GLAD=1 '