[gimp/gimp-2-10] app: fix app/tests linking



commit 617577da27864fad40dcea1f4f0de0d8d3db928e
Author: Ell <ell_se yahoo com>
Date:   Sun Sep 2 04:55:40 2018 -0400

    app: fix app/tests linking
    
    Required since commit 80bf686c9447f59bdc72cc9adb018ef1a0d83444.
    
    (cherry picked from commit 7a02859d32c5c527e59a5cffad41309f7f1c228b)

 app/tests/Makefile.am | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/app/tests/Makefile.am b/app/tests/Makefile.am
index cc0be0e923..766c2b732c 100644
--- a/app/tests/Makefile.am
+++ b/app/tests/Makefile.am
@@ -53,6 +53,10 @@ libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).
 libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
 libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
 
+if PLATFORM_LINUX
+libdl = -ldl
+endif
+
 if OS_WIN32
 else
 libm = -lm
@@ -132,9 +136,11 @@ LDADD = \
        $(Z_LIBS)                                                       \
        $(JSON_C_LIBS)                                                  \
        $(LIBMYPAINT_LIBS)                                              \
+       $(LIBUNWIND_LIBS)                                               \
        $(INTLLIBS)                                                     \
        $(RT_LIBS)                                                      \
-       $(libm)
+       $(libm)                                                         \
+       $(libdl)
 
 gimpdir-output:
        mkdir -p gimpdir-output


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