Skip to content
Snippets Groups Projects
Commit 0f98e1ff authored by Thibault Saunier's avatar Thibault Saunier
Browse files

meson: Search python shared lib in lib64/ if it is a directory

parent b5e834df
No related branches found
Tags mesa-18.2.1
No related merge requests found
......@@ -42,7 +42,8 @@ def get_python_libloc():
if os.path.exists(os.path.join(py_sharedlib)):
return pylib_loc
pylib_loc = '/usr/lib'
libdir = 'lib64' if os.path.isdir('/usr/lib64') else 'lib'
pylib_loc = '/usr/' + libdir
py_sharedlib = pylib_loc + '/libpython' + pyversion + abiflags + '.so'
if os.path.exists(os.path.join(py_sharedlib)):
return pylib_loc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment