Skip to content
Snippets Groups Projects
Commit d3a43097 authored by Alexander Pace's avatar Alexander Pace
Browse files

remove check for libpython27.so

parent 0b94a8c6
No related branches found
No related tags found
No related merge requests found
Pipeline #184408 passed with warnings
......@@ -265,25 +265,6 @@ AC_SUBST([PYGOBJECT_CFLAGS])
AC_SUBST([PYGOBJECT_LIBS])
#AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found.]))
# on Debian the file is /usr/lib/x86_64-linux-gnu/libpython2.7.so
# on SL7 the file is /usr/lib64/libpython2.7.so
# on raspberry pi the file is /usr/lib/aarch64-linux-gnu/libpython2.7.so
AC_SUBST([PYTHON_ABI_FLAGS], [])
AC_SUBST([PYTHON_LIB_SUFFIX], [so])
if test -a "/usr/lib/x86_64-linux-gnu/libpython2.7.so" ; then
AC_SUBST([PYTHON_LIB_LOC], [/usr/lib/x86_64-linux-gnu])
elif test -a "/usr/lib/aarch64-linux-gnu/libpython2.7.so" ; then
AC_SUBST([PYTHON_LIB_LOC], [/usr/lib/aarch64-linux-gnu])
elif test -a "/usr/lib64/libpython2.7.so" ; then
AC_SUBST([PYTHON_LIB_LOC], [/usr/lib64])
elif test -a "/opt/local/lib/libpython2.7.dylib" ; then
AC_SUBST([PYTHON_LIB_LOC], [/opt/local/lib])
AC_SUBST([PYTHON_LIB_SUFFIX], [dylib])
# FIXME: .pc file broken on macs, remove when fixed
PYGOBJECT_LIBS="${PYGOBJECT_LIBS} -lgmodule-2.0"
else
AC_MSG_ERROR([libpython2.7.so not found])
fi
#
......
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