MinGW: libtool falls back to static lib unless -no-undefined given

--- redland/src/Makefile.in.old	2013-03-30 17:43:48.127008037 +0100
+++ redland/src/Makefile.in	2013-03-30 17:47:15.753006253 +0100
@@ -625,7 +625,7 @@
 rdf_parser_raptor.c
 
 EXTRA_DIST = redland.spec redland.spec.in mysql-v1.ttl mysql-v2.ttl
-librdf_la_LDFLAGS = -version-info @LIBRDF_LIBTOOL_VERSION@ \
+librdf_la_LDFLAGS = -version-info @LIBRDF_LIBTOOL_VERSION@ -no-undefined \
 @LIBRDF_LDFLAGS@ @LIBRDF_EXTERNAL_LIBS@
 
 pkgdata_DATA = $(am__append_13)
