summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2015-05-09 21:09:43 +0200
committerNiels de Vos <ndevos@redhat.com>2015-05-09 15:27:52 -0700
commit0c61a29a980a60a4555683ae2fea626ed3cb73e8 (patch)
treeb6beecc06ebc06073cb4c69dc56dccbef17334ea /configure.ac
parent8e26dc8baf61ae323bcc1eb311436b225312d84e (diff)
glupy: remove debug test in libpython runtime search path detection
A configure test was recently added to add libpython runtime search path to glupy.so xlator. The vesion committed was a debug test, it searched pythonxx and not python to check for failure. Fix by removing the xx debug test in python's name. Backport of: I7b691be17fc2a2c812f68710869b1a9a85ced84c Change-Id: I518f369c320dcd5cddbdcfe9d25d27af2e0dc929 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> BUG: 1212676 Reviewed-on: http://review.gluster.org/10733 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: NetBSD Build System Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 29e0e26..1a09854 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1131,7 +1131,7 @@ saved_LDFLAGS=$LDFLAGS
# Use pkg-config to get runtime search patch missing from ${PYTHON}-config
# Just do "true" on failure so that configure does not bail out
-PKG_CHECK_MODULES([PYTHON], "pythonxx-$PYTHON_VERSION",,true)
+PKG_CHECK_MODULES([PYTHON], "python-$PYTHON_VERSION",,true)
CFLAGS="`${PYTHON}-config --cflags`"
CPPFLAGS=$CFLAGS
LDFLAGS="${PYTHON_LIBS} -L`${PYTHON}-config --prefix`/lib -L`${PYTHON}-config --prefix`/$libdir `${PYTHON}-config --ldflags`"