diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2020-10-14 18:45:58 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2023-03-14 18:07:09 +0100 |
commit | 9de0333e8ba26a50561a7e8e14041a3332729fff (patch) | |
tree | c678427fe80fa3bf468f4bf5700272feba13c4bc /recipes/gdk-pixbuf.recipe | |
parent | fdc21aaee947ec22cdc18af5339b71e76902fec9 (diff) |
Fix hardcoded 'lib' path in recipes files listing
Diffstat (limited to 'recipes/gdk-pixbuf.recipe')
-rw-r--r-- | recipes/gdk-pixbuf.recipe | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/gdk-pixbuf.recipe b/recipes/gdk-pixbuf.recipe index cae1f3e3..fdc80c4a 100644 --- a/recipes/gdk-pixbuf.recipe +++ b/recipes/gdk-pixbuf.recipe @@ -19,7 +19,7 @@ class Recipe(recipe.Recipe): files_libs = ['libgdk_pixbuf-2.0'] files_bins = ['gdk-pixbuf-query-loaders', 'gdk-pixbuf-csource'] - files_devel = ['lib/pkgconfig/gdk-pixbuf-2.0.pc', 'include/gdk-pixbuf-2.0'] + files_devel = ['%(libdir)s/pkgconfig/gdk-pixbuf-2.0.pc', 'include/gdk-pixbuf-2.0'] files_lang = ['gdk-pixbuf'] files_typelibs = ['GdkPixbuf-2.0'] @@ -31,12 +31,12 @@ class Recipe(recipe.Recipe): if self.config.target_platform == Platform.WINDOWS: self.meson_options['native_windows_loaders'] = 'false' if self.config.prefix_is_executable(): - self.files_misc = ['lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'] + self.files_misc = ['%(libdir)s/gdk-pixbuf-2.0/2.10.0/loaders.cache'] def post_install (self): if self.config.platform == Platform.WINDOWS and\ self.config.target_platform == Platform.WINDOWS: - cache = os.path.join(self.config.prefix, 'lib', 'gdk-pixbuf-2.0', + cache = os.path.join(self.config.libdir, 'gdk-pixbuf-2.0', '2.10.0', 'loaders.cache') shell.replace(cache, {self.config.prefix: '../'}) |