summaryrefslogtreecommitdiff
path: root/ext/dtls
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-11-06 18:47:43 +0100
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-11-06 18:48:44 +0100
commit84d3f58c4a6ce663be8827cd862145dc2039a166 (patch)
tree78e8ceb1fd4d9f10ed7887b7f6c98fd3163c6cbc /ext/dtls
parent8af8fd62dd0a9855f29fb645e2a202131b238f4b (diff)
downloadgstreamer-plugins-bad-84d3f58c4a6ce663be8827cd862145dc2039a166.tar.gz
dtls: Link against winsock2 on Windows
Should fix the Windows build after b1509b1047bb76c9b2d8b14e9cecd0da72fd8e65.
Diffstat (limited to 'ext/dtls')
-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 da8d886bc..ab91f2d4a 100644
--- a/ext/dtls/meson.build
+++ b/ext/dtls/meson.build
@@ -19,7 +19,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,
)