gdbus-codegen: look for deps in correct path under win32

codegen.py and friends get installed in "share/glib-2.0",
so look for them there.

https://bugzilla.gnome.org/show_bug.cgi?id=702862
This commit is contained in:
Manuel Bachmann 2013-12-11 10:59:28 +01:00
parent e6456bcfb6
commit 36ef409591

View File

@ -31,7 +31,7 @@ if srcdir is not None:
path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
elif os.name == 'nt':
# Makes gdbus-codegen 'relocatable' at runtime on Windows.
path = os.path.join(os.path.dirname(__file__), '..', 'lib', 'gdbus-2.0')
path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0')
else:
path = os.path.join('@datadir@', 'glib-2.0')