mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 20:51:10 +00:00
build: Fix post-install script
Use the appropriate variable when expanding the input method modules path.
This commit is contained in:
parent
49d0b4ccb8
commit
a4d0800673
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
gtk_version=$1
|
||||
gtk_api_version=$1
|
||||
gtk_abi_version=$2
|
||||
gtk_libdir=$3
|
||||
gtk_datadir=$4
|
||||
@ -17,5 +17,5 @@ if [ -z "$DESTDIR" ]; then
|
||||
gtk-update-icon-cache -q -t -f ${gtk_datadir}/icons/hicolor
|
||||
|
||||
echo Updating input method modules cache...
|
||||
gtk4-query-immodules > ${gtk_libdir}/gtk-${version}/${gtk_abi_version}/immodules.cache
|
||||
gtk4-query-immodules > ${gtk_libdir}/gtk-${gtk_api_version}/${gtk_abi_version}/immodules.cache
|
||||
fi
|
||||
|
@ -601,7 +601,7 @@ endif
|
||||
|
||||
# Keep this in sync with post-install.sh expected arguments
|
||||
meson.add_install_script('build-aux/meson/post-install.sh',
|
||||
gtk_version,
|
||||
gtk_api_version,
|
||||
gtk_binary_version,
|
||||
gtk_libdir,
|
||||
gtk_datadir)
|
||||
|
Loading…
Reference in New Issue
Block a user