1
0

patch-gio_gdbus-2_0_codegen_gdbus-codegen_in 707 B

123456789101112131415
  1. --- glib-2.40.0.orig/gio/gdbus-2.0/codegen/gdbus-codegen.in 2014-02-03 18:40:41.000000000 +0100
  2. +++ glib-2.40.0/gio/gdbus-2.0/codegen/gdbus-codegen.in 2014-06-22 20:42:44.000000000 +0200
  3. @@ -27,11 +27,8 @@ srcdir = os.getenv('UNINSTALLED_GLIB_SRC
  4. if srcdir is not None:
  5. path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
  6. -elif os.name == 'nt':
  7. - # Makes gdbus-codegen 'relocatable' at runtime on Windows.
  8. - path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0')
  9. else:
  10. - path = os.path.join('@datadir@', 'glib-2.0')
  11. + path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0')
  12. sys.path.insert(0, os.path.abspath(path))
  13. from codegen import codegen_main