[*] Update UNIX library resource paths to account for the UsrMerge consensus across UNIX package distributions.
when /lib = sys, /usr/lib = usr/vendor is wrong nowadays: /lib >>SYMLINK>> /usr/lib, /usr/lib = system libraries, /usr/local/lib = vendor.
This commit is contained in:
parent
2082a501ef
commit
050f48f9dc
@ -180,8 +180,12 @@ namespace Aurora::IO::FS
|
||||
SetXdg(gApplicationData, "XDG_CONFIG_HOME", homedir, "/.config", kUnixAppData);
|
||||
SetXdg(gHomeDirectory, "XDG_DATA_HOME", homedir, "/.local/share", ".");
|
||||
|
||||
SetUnixPaths(gUserLibPath, gUserLibPath2, "/usr/lib");
|
||||
SetUnixPaths(gSystemLibPath, gSystemLibPath2, "/lib");
|
||||
// https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/
|
||||
// Arch 2012: https://archlinux.org/news/the-lib-directory-becomes-a-symlink/
|
||||
// Ubuntu 2018 (mandatory 2021+): https://lists.ubuntu.com/archives/ubuntu-devel-announce/2018-November/001253.html https://wiki.debian.org/UsrMerge
|
||||
// Fedora (2011?): https://fedoraproject.org/wiki/Features/UsrMove
|
||||
SetUnixPaths(gUserLibPath, gUserLibPath2, "/usr/local/lib");
|
||||
SetUnixPaths(gSystemLibPath, gSystemLibPath2, "/usr/lib");
|
||||
}
|
||||
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user