[gimp/wip/Jehan/fixing-gir-or-not] libgimp: fix GObject-Introspection build in autotools.




commit c7ac1241115156850f1aa6f609517357df2e9994
Author: Jehan <jehan girinstud io>
Date:   Thu Jul 21 21:22:22 2022 +0200

    libgimp: fix GObject-Introspection build in autotools.
    
    Fixes:
    
    > /usr/bin/ld: ../libgimp/.libs/libgimpui-3.0.so: undefined reference to `gimp_check_custom_color2'
    
    I am actually unsure this fix is fine. It doesn't look like it should
    work. And worse, I can't reproduce the fix by reverting it after.
    
    The only other person who reported it was akk, with exactly the same
    symptoms.

 libgimp/Makefile.am | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am
index 927557b7f3..fc41983bd4 100644
--- a/libgimp/Makefile.am
+++ b/libgimp/Makefile.am
@@ -382,6 +382,7 @@ GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_CFLAGS = \
 
 GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_LIBS = \
        ../libgimp/libgimpui-@GIMP_API_VERSION@.la              \
+       ../libgimp/libgimp-@GIMP_API_VERSION@.la                \
        ../libgimpwidgets/libgimpwidgets-@GIMP_API_VERSION@.la
 
 GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_FILES =   \


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