mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 22:31:22 +00:00
xdgmime: Link with winsock library to fix build with MinGW
Partially fixes bug #573595.
This commit is contained in:
parent
dafa530773
commit
f5b298e3d7
2 changed files with 3 additions and 1 deletions
|
@ -327,7 +327,9 @@ AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes")
|
||||||
|
|
||||||
if test "x$HAVE_WINSOCK2_H" = "xyes"; then
|
if test "x$HAVE_WINSOCK2_H" = "xyes"; then
|
||||||
DCCP_LIBS="$DCCP_LIBS -lws2_32"
|
DCCP_LIBS="$DCCP_LIBS -lws2_32"
|
||||||
|
XDG_LIBS="$XDG_LIBS -lws2_32"
|
||||||
AC_SUBST(DCCP_LIBS)
|
AC_SUBST(DCCP_LIBS)
|
||||||
|
AC_SUBST(XDG_LIBS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
|
if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
|
||||||
|
|
|
@ -10,7 +10,7 @@ libgstxdgmime_la_SOURCES = gstxdgmime.c \
|
||||||
xdgmime/xdgmimemagic.c \
|
xdgmime/xdgmimemagic.c \
|
||||||
xdgmime/xdgmimeparent.c
|
xdgmime/xdgmimeparent.c
|
||||||
libgstxdgmime_la_CFLAGS = $(GST_CFLAGS) -DXDG_PREFIX=gst_xdg_mime
|
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_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
libgstxdgmime_la_LIBTOOLFLAGS = --tag=disable-static
|
libgstxdgmime_la_LIBTOOLFLAGS = --tag=disable-static
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue