diff options
author | Edward Hervey <bilboed@bilboed.com> | 2014-05-25 10:15:55 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-05-25 10:22:29 +0200 |
commit | a9cb655f615dd60580d5f4670914a85c0562c53d (patch) | |
tree | 4ef7fdf85a2f68767b0de04ce0f5bc1a2e907e97 /recipes/gdk-pixbuf.recipe | |
parent | 485eb36c7aa64b4c8eb75112b0692bd23d49c684 (diff) |
recipes: gdkx-pixbuf: fixup previous commit
the loaders cache is only built when not cross-compiling
Diffstat (limited to 'recipes/gdk-pixbuf.recipe')
-rw-r--r-- | recipes/gdk-pixbuf.recipe | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gdk-pixbuf.recipe b/recipes/gdk-pixbuf.recipe index 681a0a77..73162235 100644 --- a/recipes/gdk-pixbuf.recipe +++ b/recipes/gdk-pixbuf.recipe @@ -14,7 +14,6 @@ class Recipe(recipe.Recipe): autoreconf = True files_libs = ['libgdk_pixbuf-2.0'] - files_misc = ['lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'] files_bins = ['gdk-pixbuf-query-loaders', 'gdk-pixbuf-csource'] files_devel = ['lib/pkgconfig/gdk-pixbuf-2.0.pc', 'include/gdk-pixbuf-2.0'] files_lang = ['gdk-pixbuf'] @@ -25,6 +24,8 @@ class Recipe(recipe.Recipe): self.configure_options += '--without-gdiplus ' if self.config.target_platform == Platform.DARWIN: self.configure_options += '--without-x11 ' + if self.config.prefix_is_executable(): + self.files_misc = ['lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'] def post_install (self): if self.config.platform == Platform.WINDOWS and\ |