Skip to contentSkip to conversation

janus-gateway: disable for static build

PATCH New Baruch Siach 2 participants 2 messages May 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 janus-gateway: disable for static build

janus-gateway requires dlopen().

Fixes:
http://autobuild.buildroot.net/results/092/092aac2b8abe0edd868a7e0cc59cdaaf28ca4ad5/

---
 package/janus-gateway/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/janus-gateway/Config.in +3 -2
index 6ba5f6a1e1db..035ee6c3345e 100644
@@ -10,12 +10,13 @@ config BR2_PACKAGE_JANUS_GATEWAY
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libmicrohttpd
 	depends on BR2_USE_WCHAR # libnice -> libglib2
 	depends on BR2_USE_MMU # libnice
+	depends on !BR2_STATIC_LIBS # dlopen
 	help
 	  Janus is an open source, general purpose, WebRTC gateway
 	  designed and developed by Meetecho.
 
 	  https://github.com/meetecho/janus-gateway
 
-comment "janus-gateway needs a toolchain w/ threads, wchar"
+comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
Signature · 1 line
2.1.4