summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2017-02-23 16:44:48 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-23 22:22:41 +0100
commit1f4e1656bc1176442671104acde1e4033377636e (patch)
tree503b96d44b30e82a07822181a113392410d6984d
parent487b419cc647da18f04a98ee69c160705f0c44e8 (diff)
downloadbuildroot-1f4e1656bc1176442671104acde1e4033377636e.tar.gz
buildroot-1f4e1656bc1176442671104acde1e4033377636e.zip
gdk-pixbuf: copy loaders.cache later on
Trying to copy loaders.cache from host-gdk-pixbuf to the gdk-pixbuf build directory in the post-patch hook is too early when using TLP (it breaks horribly) since host-gdk-pixbuf isn't built yet during the massive unpack/patch cycle. Switch it to the pre-build hook instead which ensures that gdk-pixbuf dependencies were already built. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gdk-pixbuf/gdk-pixbuf.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
index e4d3658c51..0f4eeb1eba 100644
--- a/package/gdk-pixbuf/gdk-pixbuf.mk
+++ b/package/gdk-pixbuf/gdk-pixbuf.mk
@@ -80,7 +80,7 @@ define GDK_PIXBUF_COPY_LOADERS_CACHE
cp -f $(HOST_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \
$(@D)/gdk-pixbuf
endef
-GDK_PIXBUF_POST_PATCH_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE
+GDK_PIXBUF_PRE_BUILD_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE
$(eval $(autotools-package))
$(eval $(host-autotools-package))
OpenPOWER on IntegriCloud