mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
girepository: add support for relocations
Relocation is a common scenario in macOS applications and frameworks. This commit provides a mechanism to support relocations by inferring the typelib dir from the path of the loaded image libgirepository-1.0.dylib.
This commit is contained in:
@@ -85,6 +85,7 @@ gir_c_args = [
|
||||
'-DGIR_DIR="@0@"'.format(glib_girdir),
|
||||
'-DGOBJECT_INTROSPECTION_LIBDIR="@0@"'.format(glib_libdir),
|
||||
'-DGOBJECT_INTROSPECTION_DATADIR="@0@"'.format(glib_datadir),
|
||||
'-DGOBJECT_INTROSPECTION_RELATIVE_LIBDIR="@0@"'.format(get_option('libdir')),
|
||||
]
|
||||
|
||||
custom_c_args = []
|
||||
|
Reference in New Issue
Block a user