mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Fix py3k linking issue on Linux
We now try the ${PYTHON_PREFIX}/lib directory first as it is more
likely to have the shared library also, and not just the static one.
This commit is contained in:
+2
-2
@@ -29,12 +29,12 @@ PYTHON_LDFLAGS=""
|
||||
PYTHON_LIBS=""
|
||||
AC_DEFUN([ADD_PYTHON_INCDIR], [
|
||||
if [[ -d "$1" ]]; then
|
||||
PYTHON_CFLAGS="-I\"$1\" $PYTHON_CFLAGS"
|
||||
PYTHON_CFLAGS="$PYTHON_CFLAGS -I\"$1\""
|
||||
fi
|
||||
])
|
||||
AC_DEFUN([ADD_PYTHON_LIBDIR], [
|
||||
if [[ -d "$1" ]]; then
|
||||
PYTHON_LIBS="-L\"$1\" $PYTHON_LIBS"
|
||||
PYTHON_LIBS="$PYTHON_LIBS -L\"$1\""
|
||||
fi
|
||||
])
|
||||
ADD_PYTHON_INCDIR([${PYTHON_PREFIX}/include/python${PYTHON_VERSION}${PYTHON_ABIFLAGS}/])
|
||||
|
||||
Reference in New Issue
Block a user