Browse Source

mplayer: Only enable IPv6 if BR2_INET_IPV6 is set

This fixes false positive IPv6 detection.

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Valentine Barshak 13 years ago
parent
commit
2ba4eedeee
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/multimedia/mplayer/mplayer.mk

+ 3 - 0
package/multimedia/mplayer/mplayer.mk

@@ -153,6 +153,9 @@ define MPLAYER_FIXUP_IPV6_MREQ_DETECTION
 endef
 
 MPLAYER_POST_CONFIGURE_HOOKS += MPLAYER_FIXUP_IPV6_MREQ_DETECTION
+MPLAYER_CONF_OPTS += --disable-inet6
+else
+MPLAYER_CONF_OPTS += --enable-inet6
 endif
 
 define MPLAYER_BUILD_CMDS