dtls: Link against winsock2 on Windows

Should fix the Windows build after
b1509b1047.
This commit is contained in:
Jan Alexander Steffens (heftig) 2018-11-06 18:47:43 +01:00
parent 8af8fd62dd
commit 84d3f58c4a
No known key found for this signature in database
GPG key ID: A5E9288C4FA415FA
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ libgstdtls_la_CFLAGS = \
$(GST_CFLAGS) \ $(GST_CFLAGS) \
$(DTLS_CFLAGS) $(DTLS_CFLAGS)
libgstdtls_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(DTLS_LIBS) libgstdtls_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(DTLS_LIBS) $(WINSOCK2_LIBS)
libgstdtls_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstdtls_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = \ noinst_HEADERS = \

View file

@ -19,7 +19,7 @@ if openssl_dep.found() and libcrypto_dep.found()
dtls_sources, dtls_sources,
c_args : gst_plugins_bad_args, c_args : gst_plugins_bad_args,
include_directories : [configinc], include_directories : [configinc],
dependencies : [gst_dep, libcrypto_dep, openssl_dep], dependencies : [gst_dep, libcrypto_dep, openssl_dep] + winsock2,
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )