From da386d3d21cb4f87336f200906b717387d3a8c21 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 27 Oct 2015 17:52:47 +0000 Subject: gtk-icon-cache: pass the native libdir to the intercept The intercept runs against the native sysroot so we need to pass it the native libdir instead of the target libdir, as otherwise it will use target paths (such as lib64) in the native sysroot. (From OE-Core rev: 0fe84007176c98644b1917966c98501beb7e0ce2) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/postinst-intercepts/update_icon_cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/postinst-intercepts') diff --git a/scripts/postinst-intercepts/update_icon_cache b/scripts/postinst-intercepts/update_icon_cache index df9bdecc99..9cf2a72a0c 100644 --- a/scripts/postinst-intercepts/update_icon_cache +++ b/scripts/postinst-intercepts/update_icon_cache @@ -3,7 +3,7 @@ set -e # update native pixbuf loaders -$STAGING_DIR_NATIVE/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache +$STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache for icondir in $D/usr/share/icons/*/ ; do if [ -d $icondir ] ; then -- cgit v1.2.3-54-g00ecf