janus-gateway: add dependency of streaming plugin on headers >= 3.9
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Jan 2017 08:41:00 +0000 (21:41 +1300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Jan 2017 08:41:00 +0000 (21:41 +1300)
Fixes:

  http://autobuild.buildroot.net/results/89005444f3dee9002881b5449cd137a32a286e27/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/janus-gateway/Config.in

index 125adf89564e852f1534f97c60161b80babde4d6..5c7b63374b6467c7ea873062b4759950d7a79087 100644 (file)
@@ -35,6 +35,11 @@ config BR2_PACKAGE_JANUS_SIP_GATEWAY
 
 config  BR2_PACKAGE_JANUS_STREAMING
        bool "streaming"
+       # SO_REUSEPORT
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
+
+comment "streaming plugin needs a toolchain w/ headers >= 3.9"
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
 
 config BR2_PACKAGE_JANUS_TEXT_ROOM
        bool "text room"