From 6045f02ccbd8adb06f24dfa080517bb4f0abfdcf Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Fri, 21 Sep 2012 14:13:16 +0000
Subject: [PATCH] fix the search path for libpython. Fixes issue 96500.

git-svn-id: http://root.cern.ch/svn/root/trunk@46113 27541ba8-7e3a-0410-8455-c3a389f83636
---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 48a03ffe8f1..fb7e8eaac3e 100755
--- a/configure
+++ b/configure
@@ -4396,6 +4396,8 @@ if test ! "x$enable_python" = "xno" ; then
     if test ! "x$enable_cling" = "xyes"; then
         enable_python="no"
         result "no (cling disabled)"
+    else
+	result "yes"
     fi
 fi
 if test ! "x$enable_python" = "xno" ; then
@@ -4404,7 +4406,8 @@ if test ! "x$enable_python" = "xno" ; then
     if test ! "x$mypython" = "x" && test -x "$mypython" ; then
        pythonvers=`python -c 'import sys; sys.stdout.write(sys.version[:3])'`
        pythonsysincdir=`python -c 'import sys; sys.stdout.write(sys.prefix + "/include/python" + sys.version[:3])'`
-       pythonsyslibdir=`python -c 'import sys; sys.stdout.write(sys.prefix + "/lib/python" + sys.version[:3])'`
+       #pythonsyslibdir=`python -c 'import sys; sys.stdout.write(sys.prefix + "/lib/python" + sys.version[:3])'`
+       pythonsyslibdir=`python -c 'import sys; sys.stdout.write(sys.prefix + "/lib")'`
        pythonsyslibdir2=
        if test "x$platform" = "xmacosx"; then
           pythonsyslibdir2=`python -c 'import sys; sys.stdout.write(sys.prefix)'`
-- 
GitLab