From 8b27a48d568a1da5cf699bd27bcdd9b23d8f5cf4 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sat, 22 Oct 2016 07:19:19 -0400 Subject: Don't default to lib64 if symlink Some distros, such as Arch, symlink lib64 to lib for compat reasons and programs shouldn't actually install there. --- mesonbuild/mesonlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index abb5641..98d8591 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -174,7 +174,7 @@ def default_libdir(): return 'lib/' + archpath except Exception: pass - if os.path.isdir('/usr/lib64'): + if os.path.isdir('/usr/lib64') and not os.path.islink('/usr/lib64'): return 'lib64' return 'lib' -- cgit v1.1