From 83a5a2c877e0208cfcfaa9bb84b26366a1b48fad Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 8 Dec 2013 21:28:29 +0200 Subject: [PATCH] Fix librsvg build on MS-Windows. configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg statically. --- ChangeLog | 5 +++++ configure.ac | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2b1d363face..9e47a2a4d07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-08 Eli Zaretskii + + * configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg + statically. + 2013-12-08 Paul Eggert * configure.ac: Simplify supression of GTK deprecation warning. diff --git a/configure.ac b/configure.ac index 5240afac291..1f99a658cec 100644 --- a/configure.ac +++ b/configure.ac @@ -2136,6 +2136,10 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${opsys}" = if test $HAVE_RSVG = yes; then AC_DEFINE(HAVE_RSVG, 1, [Define to 1 if using librsvg.]) CFLAGS="$CFLAGS $RSVG_CFLAGS" + # Windows loads librsvg dynamically + if test "${opsys}" = "mingw32"; then + RSVG_LIBS= + fi LIBS="$RSVG_LIBS $LIBS" fi fi -- 2.39.2