[vlc-commits] sd: Fix microdns build with 0.0.4
Hugo Beauzée-Luyssen
git at videolan.org
Tue Mar 21 18:37:01 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 21 18:36:08 2017 +0100| [3754484074ce2ca3ce800e09c33a0b160893f08e] | committer: Hugo Beauzée-Luyssen
sd: Fix microdns build with 0.0.4
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3754484074ce2ca3ce800e09c33a0b160893f08e
---
modules/services_discovery/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/services_discovery/Makefile.am b/modules/services_discovery/Makefile.am
index 2bdc75f..c9e6228 100644
--- a/modules/services_discovery/Makefile.am
+++ b/modules/services_discovery/Makefile.am
@@ -72,6 +72,9 @@ endif
libmicrodns_plugin_la_SOURCES = services_discovery/microdns.c
libmicrodns_plugin_la_CFLAGS = $(AM_CFLAGS) $(MICRODNS_CFLAGS)
libmicrodns_plugin_la_LIBADD = $(SOCKET_LIBS) $(MICRODNS_LIBS)
+if HAVE_WIN32
+libmicrodns_plugin_la_LIBADD += -liphlpapi
+endif
libmicrodns_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
sd_LTLIBRARIES += $(LTLIBmicrodns)
EXTRA_LTLIBRARIES += libmicrodns_plugin.la
More information about the vlc-commits
mailing list