mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Make gdbus-codegen 'relocatable' at runtime on Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=650763
This commit is contained in:
parent
acb5b852c1
commit
a2614efd14
@ -29,6 +29,9 @@ srcdir = os.getenv('UNINSTALLED_GLIB_SRCDIR', None)
|
||||
|
||||
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')
|
||||
else:
|
||||
path = os.path.join('@libdir@', 'gdbus-2.0')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user