mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
meson: Search python shared lib in lib64/ if it is a directory
This commit is contained in:
parent
b5e834df90
commit
0f98e1ff44
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue