[gdk-pixbuf/ebassi/issues-185] build: Fix shared GDI+ loaders iteration




commit 382e2ed2ca9094b231e2659e3ed831a4fcd01247
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Apr 21 14:52:50 2021 +0100

    build: Fix shared GDI+ loaders iteration
    
    The native loaders for Windows are not stored in a dictionary.
    
    Fixes: #185

 gdk-pixbuf/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build
index 8b0590b05..54ff9dda3 100644
--- a/gdk-pixbuf/meson.build
+++ b/gdk-pixbuf/meson.build
@@ -309,8 +309,8 @@ endforeach
 # Build the loaders using native Windows components as dynamic modules, if requested
 if native_windows_loaders
   if not (builtin_loaders.contains('windows') or builtin_all_loaders)
-    foreach name, loader: windows_native_loader_formats
-      loader_sources = windows_base_loader_sources + [ 'io-gdip-@0@.c'.format(name) ]
+    foreach loader: windows_native_loader_formats
+      loader_sources = windows_base_loader_sources + [ 'io-gdip-@0@.c'.format(loader) ]
 
       mod = shared_module('pixbufloader-gdip-@0@'.format(loader),
                           loader_sources,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]