[librsvg: 1/2] Use LIBRSVG_LIBS, LIBM to satisfy dependencies of RUST_LIB



commit 35aa090cef333627e7bf686fc613c79a25fbc477
Author: Simon McVittie <smcv debian org>
Date:   Wed Aug 29 11:14:15 2018 +0100

    Use LIBRSVG_LIBS, LIBM to satisfy dependencies of RUST_LIB
    
    Otherwise linking with -Wl,--as-needed fails.
    
    Signed-off-by: Simon McVittie <smcv debian org>

 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Makefile.am b/Makefile.am
index a0418956..131076c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -190,9 +190,9 @@ librsvg_@RSVG_API_MAJOR_VERSION@_la_LDFLAGS = \
        $(AM_LDFLAGS)
 
 librsvg_@RSVG_API_MAJOR_VERSION@_la_LIBADD = \
+       $(RUST_LIB)             \
        $(LIBRSVG_LIBS)         \
        $(LIBM)                 \
-       $(RUST_LIB)             \
        $(DLOPEN_LIBS)
 
 librsvgincdir = $(includedir)/librsvg-$(RSVG_API_VERSION)/librsvg


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