makepanda: Expand tilde in -incdir and -libdir options

This commit is contained in:
rdb 2024-11-04 15:17:09 +01:00
parent e0c4096842
commit 5722e40520
1 changed files with 2 additions and 2 deletions

View File

@ -267,11 +267,11 @@ def parseopts(args):
break
elif option == "--" + pkg.lower() + "-incdir":
PkgSetCustomLocation(pkg)
IncDirectory(pkg, value)
IncDirectory(pkg, os.path.expanduser(value))
break
elif option == "--" + pkg.lower() + "-libdir":
PkgSetCustomLocation(pkg)
LibDirectory(pkg, value)
LibDirectory(pkg, os.path.expanduser(value))
break
if (option == "--everything" or option.startswith("--use-")
or option == "--nothing" or option.startswith("--no-")):