polipo: forcibly enable IPv6 support 5172/head
authorJo-Philipp Wich <jo@mein.io>
Thu, 23 Nov 2017 19:47:59 +0000 (20:47 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 23 Nov 2017 19:54:45 +0000 (20:54 +0100)
commitafaceadeda4496c3f846092c2deb1ae14f4c8c6e
treee5a0c1be360aaecda481f3675dd6dd137d5e5342
parent7620a0d60c7a11666df0915f56117d9c18ffc0aa
polipo: forcibly enable IPv6 support

Currently `polipo.h` uses the conditional
`(__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)` to decide
whether to enable IPv6 support.

This used to work for OpenWrt CC which uses uClibc disguising itself
as Glibc 2.x but it does not work with Musl libc anymore as this library
does not export any Glibc defines.

Forcibly enable IPv6 support by passing `-DHAVE_IPv6` unconditionally
through the build flags in the OpenWrt/LEDE Makefile.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
net/polipo/Makefile