mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
build/linux: Prevent loading host's GIO_EXTRA_MODULES on AppImage
We can't guarantee that the .so modules pointed by GIO_EXTRA_MODULES will link properly to the bundled libc and other bundled deps in the AppImage. So, by making our AppImage ignore that var we avoid errors on terminal due to linking mismatch (e.g. on NixOS which sets that var by default).
This commit is contained in:
parent
1bfd5ebf20
commit
330ebe90b6
1 changed files with 1 additions and 0 deletions
|
@ -266,6 +266,7 @@ bund_usr "$UNIX_PREFIX" "bin/gvfs*" --dest "${LIB_DIR}/gvfs"
|
||||||
bund_usr "$UNIX_PREFIX" "lib/gvfs/*.so"
|
bund_usr "$UNIX_PREFIX" "lib/gvfs/*.so"
|
||||||
bund_usr "$UNIX_PREFIX" "lib/gio/modules/*"
|
bund_usr "$UNIX_PREFIX" "lib/gio/modules/*"
|
||||||
conf_app GIO_MODULE_DIR "${LIB_DIR}/${LIB_SUBDIR}gio/modules"
|
conf_app GIO_MODULE_DIR "${LIB_DIR}/${LIB_SUBDIR}gio/modules"
|
||||||
|
conf_app GIO_EXTRA_MODULES "" --no-expand
|
||||||
### GTK needed files (to be able to load icons)
|
### GTK needed files (to be able to load icons)
|
||||||
bund_usr "$UNIX_PREFIX" "share/icons/Adwaita"
|
bund_usr "$UNIX_PREFIX" "share/icons/Adwaita"
|
||||||
bund_usr "$GIMP_PREFIX" "share/icons/hicolor"
|
bund_usr "$GIMP_PREFIX" "share/icons/hicolor"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue