summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-11-06 18:47:43 +0100
committerSebastian Dröge <sebastian@centricular.com>2018-11-07 23:29:53 +0200
commitfbeeac3f895fd1792fe3b4b5160ad113b17b765e (patch)
treea1848dc412ce7861de5fdb61b0d25da269c5f4bc
parent0dd79ed64cb254796c3533fc9e195c04c9bb2efc (diff)
downloadgstreamer-plugins-bad-fbeeac3f895fd1792fe3b4b5160ad113b17b765e.tar.gz
dtls: Link against winsock2 on Windows
Should fix the Windows build after b1509b1047bb76c9b2d8b14e9cecd0da72fd8e65.
-rw-r--r--ext/dtls/Makefile.am2
-rw-r--r--ext/dtls/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dtls/Makefile.am b/ext/dtls/Makefile.am
index 20a95f3f8..63cbcd866 100644
--- a/ext/dtls/Makefile.am
+++ b/ext/dtls/Makefile.am
@@ -18,7 +18,7 @@ libgstdtls_la_CFLAGS = \
$(GST_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)
noinst_HEADERS = \
diff --git a/ext/dtls/meson.build b/ext/dtls/meson.build
index 1ce99dcbd..2aa104aa2 100644
--- a/ext/dtls/meson.build
+++ b/ext/dtls/meson.build
@@ -18,7 +18,7 @@ if openssl_dep.found() and libcrypto_dep.found()
dtls_sources,
c_args : gst_plugins_bad_args,
include_directories : [configinc],
- dependencies : [gst_dep, libcrypto_dep, openssl_dep],
+ dependencies : [gst_dep, libcrypto_dep, openssl_dep] + winsock2,
install : true,
install_dir : plugins_install_dir,
)