From 9242cbdb66ce91d38373057f000572dd3e9addd8 Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 31 Mar 2022 16:42:16 +0200 Subject: [PATCH] libgimp: fix linking in autotools when cross-compiling. It was working for native Linux and Windows builds, but not when cross-compiling for Windows. --- libgimp/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am index a216ae8fa5..927557b7f3 100644 --- a/libgimp/Makefile.am +++ b/libgimp/Makefile.am @@ -174,6 +174,7 @@ libgimp_@GIMP_API_VERSION@_la_LIBADD = \ $(exchndl) \ $(CAIRO_LIBS) \ $(GEGL_LIBS) \ + $(GEXIV2_LIBS) \ $(GDK_PIXBUF_LIBS) \ $(RT_LIBS) @@ -188,10 +189,11 @@ EXTRA_libgimpui_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpui_def) libgimpui_@GIMP_API_VERSION@_la_LIBADD = \ $(libgimp) \ - $(libgimpwidgets) \ + $(libgimpconfig) \ $(libgimpcolor) \ $(libgimpbase) \ $(libgimpmodule) \ + $(libgimpwidgets) \ $(GEGL_LIBS) \ $(GTK_LIBS) \ $(GEXIV2_LIBS) \