mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
asfdemux: link to all required libraries including indirectly used ones.
On win32, we're required to link to all the libraries used - including ones only indirectly used by other libs. So, add gstaudio, gsttag, and (for windows only) winsock.
This commit is contained in:
parent
701b4ffc56
commit
6b9c72619a
2 changed files with 9 additions and 1 deletions
|
@ -204,6 +204,13 @@ AG_GST_CHECK_PLUGIN(mpegstream)
|
|||
AG_GST_CHECK_PLUGIN(realmedia)
|
||||
AG_GST_CHECK_PLUGIN(synaesthesia)
|
||||
|
||||
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 disable experimental plug-ins
|
||||
if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
|
||||
AG_GST_DISABLE_PLUGIN(synaesthesia)
|
||||
|
|
|
@ -4,7 +4,8 @@ libgstasf_la_SOURCES = gstasfdemux.c gstasf.c asfheaders.c asfpacket.c gstrtpasf
|
|||
libgstasf_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
libgstasf_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS)\
|
||||
-lgstriff-@GST_MAJORMINOR@ -lgstrtsp-@GST_MAJORMINOR@ -lgstsdp-@GST_MAJORMINOR@ \
|
||||
-lgstrtp-@GST_MAJORMINOR@
|
||||
-lgstrtp-@GST_MAJORMINOR@ -lgstaudio-@GST_MAJORMINOR@ -lgsttag-@GST_MAJORMINOR@ \
|
||||
$(WIN32_LIBS)
|
||||
libgstasf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstasf_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
|
|
Loading…
Reference in a new issue