Fix librsvg build on MS-Windows.

configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg statically.
This commit is contained in:
Eli Zaretskii 2013-12-08 21:28:29 +02:00
parent 939fef2978
commit 83a5a2c877
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-12-08 Eli Zaretskii <eliz@gnu.org>
* configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg
statically.
2013-12-08 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac: Simplify supression of GTK deprecation warning.

View file

@ -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