[vlc-commits] sd: Fix microdns build with 0.0.4

Hugo Beauzée-Luyssen git at videolan.org
Tue Mar 21 18:47:51 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 21 18:36:08 2017 +0100| [2a1cfc260e0e208024f5308741a2461de2b35ce2] | committer: Hugo Beauzée-Luyssen

sd: Fix microdns build with 0.0.4

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a1cfc260e0e208024f5308741a2461de2b35ce2
---

 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