[gimp/wip/Jehan/meson-windows-official: 14/14] libgimp: fix linking in autotools when cross-compiling.




commit 3736b8fe7c669efbfcd7359a6d72597fc96b568e
Author: Jehan <jehan girinstud io>
Date:   Thu Mar 31 16:42:16 2022 +0200

    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)          \


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