mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
configure.ac: Don't use runtime location of overrides by default
If someone wants to put the overrides in a non-standard location, they can use the --with-pygi-overrides-dir option. The default is to put them in ${pyexecdir}/gi/overrides Fixes make distcheck https://bugzilla.gnome.org/show_bug.cgi?id=793756
This commit is contained in:
parent
146b8cca43
commit
2818bf3012
1 changed files with 0 additions and 4 deletions
|
@ -101,11 +101,7 @@ AC_ARG_WITH([pygi_overrides_dir],
|
|||
|
||||
AC_MSG_CHECKING(for pygobject overrides directory)
|
||||
if test "x$with_pygi_overrides_dir" = "x" ; then
|
||||
overrides_dir="`$PYTHON -c 'import gi; print(gi._overridesdir)' 2>/dev/null`"
|
||||
# fallback if the previous failed
|
||||
if test "x$overrides_dir" = "x" ; then
|
||||
overrides_dir="${pyexecdir}/gi/overrides"
|
||||
fi
|
||||
else
|
||||
overrides_dir="$with_pygi_overrides_dir"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue