diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | gst/xdgmime/Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 21a5849d..839e5065 100644 --- a/configure.ac +++ b/configure.ac @@ -327,7 +327,9 @@ AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes") if test "x$HAVE_WINSOCK2_H" = "xyes"; then DCCP_LIBS="$DCCP_LIBS -lws2_32" + XDG_LIBS="$XDG_LIBS -lws2_32" AC_SUBST(DCCP_LIBS) + AC_SUBST(XDG_LIBS) fi if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then diff --git a/gst/xdgmime/Makefile.am b/gst/xdgmime/Makefile.am index 768e3f81..0c1c7542 100644 --- a/gst/xdgmime/Makefile.am +++ b/gst/xdgmime/Makefile.am @@ -10,7 +10,7 @@ libgstxdgmime_la_SOURCES = gstxdgmime.c \ xdgmime/xdgmimemagic.c \ xdgmime/xdgmimeparent.c libgstxdgmime_la_CFLAGS = $(GST_CFLAGS) -DXDG_PREFIX=gst_xdg_mime -libgstxdgmime_la_LIBADD = $(GST_LIBS) +libgstxdgmime_la_LIBADD = $(GST_LIBS) $(XDG_LIBS) libgstxdgmime_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstxdgmime_la_LIBTOOLFLAGS = --tag=disable-static |