From 59f2fa45cab8a754f2c356a694a01ac84f4f8f5b Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Mon, 2 Mar 2026 16:50:19 -0300 Subject: [PATCH] tools: Make defcheck.py CWD unambiguous This is better for debugging when some error happens. --- tools/defcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/defcheck.py b/tools/defcheck.py index 352138549a..8fa5acb6d5 100755 --- a/tools/defcheck.py +++ b/tools/defcheck.py @@ -67,7 +67,7 @@ for df in def_files: directory, name = path.split (df) basename, extension = name.split (".") - libname = path.join(directory, "lib" + basename + "-*" + libextension) + libname = path.join(os.getcwd(), directory, "lib" + basename + "-*" + libextension) #FIXME: This leaks to ninja stdout, which should not happen #print ("platform: " + sys.platform + " - extracting symbols from " + libname)