]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
gdk-pixbuf: copy loaders.cache later on
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 23 Feb 2017 19:44:48 +0000 (16:44 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 22 Sep 2017 07:00:08 +0000 (09:00 +0200)
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>
(cherry picked from commit 1f4e1656bc1176442671104acde1e4033377636e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gdk-pixbuf/gdk-pixbuf.mk

index e4d3658c519c0b8e334132a83cc8d9c1214c4035..0f4eeb1eba1af1427aa7846ba4eec831e0126dcb 100644 (file)
@@ -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))