[libgit2-glib] Set pyoverrides dir to $(pyexecdir)/gi/overrides



commit 217da1cd0cd7ee8a760bdf62a321777bc5e52ea6
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Jan 11 12:52:28 2014 +0100

    Set pyoverrides dir to $(pyexecdir)/gi/overrides
    
    Getting it from gi won't allow installing in a different prefix and
    breaks things like distcheck

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6e4c7e8..74fcd6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,7 +92,7 @@ if test "x$enable_python" = "xyes"; then
 
         PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED])
 
-        pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`
+        pyoverridesdir="\$(pyexecdir)/gi/overrides"
         AC_SUBST(pyoverridesdir)
 fi
 


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