[gitg] Do not get pygobject overrides dir from gi



commit 4198e3fe2d79c0f00e6c44257242e1ad1adaf5e7
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Jan 3 19:40:32 2014 +0100

    Do not get pygobject overrides dir from gi

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ae4da1c..616bee7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -267,8 +267,8 @@ fi
 if test "x$enable_python" = "xyes"; then
         PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED])
 
-        pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`
-        AC_SUBST(pyoverridesdir)
+       pyoverridesdir="\$(pyexecdir)/gi/overrides"
+       AC_SUBST(pyoverridesdir)
 fi
 
 AM_CONDITIONAL(ENABLE_PYTHON, test x"$enable_python" = "xyes")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]