Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 463656
Collapse All | Expand All

(-)a/gio/gdbus-2.0/codegen/gdbus-codegen.in (-7 / +3 lines)
Lines 29-41 srcdir = os.getenv('UNINSTALLED_GLIB_SRCDIR', None) Link Here
29
29
30
if srcdir is not None:
30
if srcdir is not None:
31
    path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
31
    path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
32
elif os.name == 'nt':
32
    sys.path.insert(0, os.path.abspath(path))
33
    # Makes gdbus-codegen 'relocatable' at runtime on Windows.
33
    from codegen import codegen_main
34
    path = os.path.join(os.path.dirname(__file__), '..', 'lib', 'gdbus-2.0')
35
else:
34
else:
36
    path = os.path.join('@datadir@', 'glib-2.0')
35
    from gdbus_codegen import codegen_main
37
38
sys.path.insert(0, os.path.abspath(path))
39
from codegen import codegen_main
40
36
41
sys.exit(codegen_main.codegen_main())
37
sys.exit(codegen_main.codegen_main())

Return to bug 463656