From 53534cee087cef8d47897aad521a4d984ca4eb35 Mon Sep 17 00:00:00 2001 From: Yifei Kong Date: Mon, 5 Feb 2024 11:58:51 +0800 Subject: [PATCH] Add missing expanduser for libdir --- scripts/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.py b/scripts/build.py index 2c3fe9e1..d6d73dad 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -22,6 +22,7 @@ def detect_arch(): and arch["machine"] == uname.machine and arch["pointer_size"] == pointer_size ): + arch["libdir"] = os.path.expanduser(arch["libdir"]) return arch raise Exception(f"Unsupported arch: {uname}")