mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
acinclude.m4: also look in ${py_prefix}/lib for libpythonX.Y.so.
Fixes loading the python plugin loader in gentoo.
This commit is contained in:
parent
2c31e12c5e
commit
d23ce7dfcb
1 changed files with 6 additions and 1 deletions
|
@ -83,9 +83,14 @@ if $PYTHON-config --help 2>/dev/null; then
|
|||
PYTHON_LIB_LOC=/usr/lib
|
||||
else
|
||||
PYTHON_LIB_LOC=$PYTHON_LIB/config
|
||||
|
||||
# default to prefix/lib for distros that don't have a link in
|
||||
# .../pythonX.Y/config/
|
||||
if test ! -e $PYTHON_LIB_LOC/libpython${PYTHON_VERSION}.so; then
|
||||
PYTHON_LIB_LOC=${py_prefix}/lib
|
||||
fi
|
||||
fi
|
||||
else
|
||||
asd
|
||||
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
|
||||
PYTHON_LIB_LOC="${py_prefix}/lib"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue