[Xfce4-commits] [bindings/thunarx-python] 01/01: Attempting to fix python lib64 issue on debian-based systems
noreply at xfce.org
noreply at xfce.org
Thu Nov 30 04:03:00 CET 2017
This is an automated email from the git hooks/post-receive script.
a d a m p l u m b p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository bindings/thunarx-python.
commit 391684acfda75c84d2e1e2c1748b0ce67a93f8ed
Author: Adam Plumb <adamplumb at gmail.com>
Date: Wed Nov 29 22:02:53 2017 -0500
Attempting to fix python lib64 issue on debian-based systems
---
m4/python.m4 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/m4/python.m4 b/m4/python.m4
index 18685f1..27d3ab0 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -93,9 +93,25 @@ AC_DEFUN([AC_MULTILIB],
if test -d "$searchdir"; then
case "$searchdir" in
*/lib64/ | */lib64 ) libdirsuffix=64 ;;
+ /lib/x86_64-linux-gnu/ | /lib/x86_64-linux-gnu ) libdirsuffix=/x86_64-linux-gnu ;;
*) searchdir=`cd "$searchdir" && pwd`
case "$searchdir" in
*/lib64 ) libdirsuffix=64 ;;
+ /lib/x86_64-linux-gnu ) libdirsuffix=/x86_64-linux-gnu ;;
+ esac ;;
+ esac
+ fi
+ done
+ IFS="$save_IFS"
+ else
+ save_IFS="${IFS= }"; IFS=":"
+ for searchdir in $searchpath; do
+ if test -d "$searchdir"; then
+ case "$searchdir" in
+ /lib/i386-linux-gnu/ | /lib/x86_64-linux-gnu ) libdirsuffix=/i386-linux-gnu ;;
+ *) searchdir=`cd "$searchdir" && pwd`
+ case "$searchdir" in
+ /lib/i386-linux-gnu ) libdirsuffix=/i386-linux-gnu ;;
esac ;;
esac
fi
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list