tools: Make defcheck.py CWD unambiguous

This is better for debugging when some error happens.
This commit is contained in:
Bruno Lopes 2026-03-02 16:50:19 -03:00
parent c052c94234
commit 59f2fa45ca

View file

@ -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)