Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On Mac OS X, the `file_name` parameter of `g_module_open()` must be an abosolute path to open the module successfully. To fulfil the requirement, the following changes were done: * `lgi/Makefile` - Add a new variable called `GOBJECT_INTROSPECTION_LIBDIR` whose value is set by `pkgconfig` automatically. - Pass the value of the variable to the compiler as a CPP constant macro via `CFLAGS`. * `lgi/core.c` - Construct the absolute path of a module using the value of `GOBJECT_INTROSPECTION_LIBDIR`.
- Loading branch information