mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
acmenc, acmmp3dec, sdp: link to all requires libraries on win32.
Add winsock for windows (for sdp). Link to all the plugins-base libs we indirectly use for acmmenc and acmmp3dec.
This commit is contained in:
parent
96d4ee8086
commit
cacadf3f4d
3 changed files with 35 additions and 19 deletions
|
@ -328,6 +328,11 @@ dnl FIXME: maybe move to sys, or make work with winsock2
|
||||||
AC_CHECK_HEADERS([sys/socket.h], HAVE_SYS_SOCKET_H=yes)
|
AC_CHECK_HEADERS([sys/socket.h], HAVE_SYS_SOCKET_H=yes)
|
||||||
AC_CHECK_HEADERS([winsock2.h], HAVE_WINSOCK2_H=yes)
|
AC_CHECK_HEADERS([winsock2.h], HAVE_WINSOCK2_H=yes)
|
||||||
|
|
||||||
|
if test "x$HAVE_WINSOCK2_H" = "xyes"; then
|
||||||
|
WIN32_LIBS="-lws2_32"
|
||||||
|
AC_SUBST(WIN32_LIBS)
|
||||||
|
fi
|
||||||
|
|
||||||
dnl needed for festival
|
dnl needed for festival
|
||||||
AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes")
|
AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes")
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
plugin_LTLIBRARIES = libgstacmencsink.la
|
plugin_LTLIBRARIES = libgstacmenc.la
|
||||||
|
|
||||||
libgstacmencsink_la_SOURCES = acmenc.c
|
libgstacmenc_la_SOURCES = acmenc.c
|
||||||
libgstacmencsink_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
libgstacmenc_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) $(ACMENC_CFLAGS)
|
$(GST_PLUGINS_BASE_CFLAGS) $(ACMENC_CFLAGS)
|
||||||
libgstacmencsink_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
|
libgstacmenc_la_LIBADD = \
|
||||||
-lgstriff-$(GST_MAJORMINOR) -lmsacm32
|
$(GST_BASE_LIBS) \
|
||||||
libgstacmencsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
$(GST_PLUGINS_BASE_LIBS) \
|
||||||
libgstacmencsink_la_LIBTOOLFLAGS = --tag=disable-static
|
-lgstriff-$(GST_MAJORMINOR) \
|
||||||
|
-lgstaudio-$(GST_MAJORMINOR) \
|
||||||
|
-lgsttag-$(GST_MAJORMINOR) \
|
||||||
|
-lmsacm32
|
||||||
|
|
||||||
|
libgstacmenc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
|
libgstacmenc_la_LIBTOOLFLAGS = --tag=disable-static
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
plugin_LTLIBRARIES = libgstacmmp3dec.la
|
plugin_LTLIBRARIES = libgstacmmp3dec.la
|
||||||
|
|
||||||
libgstacmmp3dec_la_SOURCES = acmmp3dec.c
|
libgstacmmp3dec_la_SOURCES = acmmp3dec.c
|
||||||
libgstacmmp3dec_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
libgstacmmp3dec_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) $(ACMMP3DEC_CFLAGS)
|
$(GST_PLUGINS_BASE_CFLAGS) $(ACMMP3DEC_CFLAGS)
|
||||||
libgstacmmp3dec_la_LIBADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
|
libgstacmmp3dec_la_LIBADD = \
|
||||||
-lgstriff-$(GST_MAJORMINOR) -lmsacm32
|
$(GST_BASE_LIBS) \
|
||||||
libgstacmmp3dec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DIRECTSOUND_LDFLAGS)
|
$(GST_PLUGINS_BASE_LIBS) \
|
||||||
|
-lgstriff-$(GST_MAJORMINOR) \
|
||||||
|
-lgstaudio-$(GST_MAJORMINOR) \
|
||||||
|
-lgsttag-$(GST_MAJORMINOR) \
|
||||||
|
-lmsacm32
|
||||||
|
libgstacmmp3dec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DIRECTSOUND_LDFLAGS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue