Windows port: compute GOBJECT_INTROSPECTION_LIBDIR at runtime.
authorDieter Verfaillie <dieterv@optionexplicit.be>
Mon, 5 Sep 2011 15:19:39 +0000 (17:19 +0200)
committerDieter Verfaillie <dieterv@optionexplicit.be>
Wed, 7 Sep 2011 20:00:09 +0000 (22:00 +0200)
commit2e711659d036fcf5a7c2e7201bb1d0fd7334ebb5
treebb2b1aa82cdcdde8cfe9aea94bd1f5579d2e9936
parent9ccfb14c08d11e3217779681123d60f930d8e684
Windows port: compute GOBJECT_INTROSPECTION_LIBDIR at runtime.

Otherwise, we fail to properly locate the typelibs, because on Windows
the value of GOBJECT_INTROSPECTION_LIBDIR depends on where Glib has been
installed. Due to the nature of how we handle software that depends on
Glib on Windows (it is recommended that each program bundles it's private
copy), we're working in a "multi-prefixed" environment. Hence the value
computed at build time will most likely not even exist at runtime.

https://bugzilla.gnome.org/show_bug.cgi?id=620566
girepository/girepository.c