summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-10-27 17:52:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-29 07:26:39 +0000
commit0fe84007176c98644b1917966c98501beb7e0ce2 (patch)
tree6cadb6590554238f45ff78bc05e2042e43425f41 /scripts
parent38a6ecf0070a60eb14b353b158b70ddc919ad328 (diff)
downloadopenembedded-core-0fe84007176c98644b1917966c98501beb7e0ce2.tar.gz
openembedded-core-0fe84007176c98644b1917966c98501beb7e0ce2.tar.bz2
openembedded-core-0fe84007176c98644b1917966c98501beb7e0ce2.zip
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/postinst-intercepts/update_icon_cache2
1 files changed, 1 insertions, 1 deletions
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