e29253ad9b
By default, gobject-introspection refers to libraries using their file name in the GIR file. Since we do not have FHS to reliably find libraries by their name, we are patching gobject-introspection to use absolute paths. This works fine for libraries installed to "$out/lib" but when a different path is used, the hard-coded absolute path will be incorrect. To deal with this case, we also patch Meson to be able to pass the install_dir to gobject-introspection. But it currently only passes the data for targets that have absolute install_dir set. To have correct libeog path, we therefore need to absolutize the install_dir.
13 lines
352 B
Diff
13 lines
352 B
Diff
diff --git a/src/meson.build b/src/meson.build
|
|
index cc9d3856..f909836d 100644
|
|
--- a/src/meson.build
|
|
+++ b/src/meson.build
|
|
@@ -165,7 +165,7 @@ libeog = shared_library(
|
|
link_args: ldflags,
|
|
link_depends: symbol_map,
|
|
install: true,
|
|
- install_dir: eog_pkglibdir,
|
|
+ install_dir: eog_prefix / eog_pkglibdir,
|
|
)
|
|
|
|
libeog_dep = declare_dependency(
|