[vlc-devel] [PATCH] configure: Fix if_nametoindex detection
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Tue Dec 5 15:52:23 CET 2017
On Mon, Dec 4, 2017, at 06:16 PM, Steve Lhomme wrote:
> If -liphlpapi is added to SOCKET_LIBS after the detection then yes.
> Although that means modules using sockets will link to it even if not
> using it.
>
> On Mon, Dec 4, 2017 at 5:52 PM, Jean-Baptiste Kempf <jb at videolan.org>
> wrote:
> > Hello,
> >
> > On Mon, 4 Dec 2017, at 17:44, Hugo Beauzée-Luyssen wrote:
> >> This fixes win32 builds
> >
> > That's fine for me. Not 100% sure...
> >
> > --
> > Jean-Baptiste Kempf - President
> > +33 672 704 734
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
This turns out to be wrong, and only works on win64. Due to stdcall, the
symbol is name if_nametoindex at 4 on win32.
Sorry about that, I'll revert.
--
Hugo Beauzée-Luyssen
hugo at beauzee.fr
More information about the vlc-devel
mailing list