diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-28 11:24:14 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-03-28 11:24:14 +0200 |
commit | 3b49b7106b281816fdf99f9d4361e5de0167ead3 (patch) | |
tree | 6f0830caf69bdc1cc2bae61b664709d58173bc82 /mesonlib.py | |
parent | 2e93295c2e2ed52abd036687d8a6a947b94f213a (diff) | |
download | meson-3b49b7106b281816fdf99f9d4361e5de0167ead3.zip meson-3b49b7106b281816fdf99f9d4361e5de0167ead3.tar.gz meson-3b49b7106b281816fdf99f9d4361e5de0167ead3.tar.bz2 |
Better libdir autodetection. Closes #92.
Diffstat (limited to 'mesonlib.py')
-rw-r--r-- | mesonlib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonlib.py b/mesonlib.py index 6ab6051..180e21e 100644 --- a/mesonlib.py +++ b/mesonlib.py @@ -95,6 +95,8 @@ def default_libdir(): if os.path.isfile('/etc/debian_version'): archpath = subprocess.check_output(['dpkg-architecture', '-qDEB_HOST_MULTIARCH']).decode().strip() return 'lib/' + archpath + if os.path.isdir('/usr/lib64'): + return 'lib64' return 'lib' def get_library_dirs(): |