mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
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:
parent
e6456bcfb6
commit
36ef409591
@ -31,7 +31,7 @@ if srcdir is not None:
|
|||||||
path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
|
path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
|
||||||
elif os.name == 'nt':
|
elif os.name == 'nt':
|
||||||
# Makes gdbus-codegen 'relocatable' at runtime on Windows.
|
# 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:
|
else:
|
||||||
path = os.path.join('@datadir@', 'glib-2.0')
|
path = os.path.join('@datadir@', 'glib-2.0')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user