소스 검색

transmission: gtk client needs locale support in toolchain

Otherwise configure errors out with:

configure: error: "The gtk client cannot be built without nls support.
Try adding either --enable-nls or --disable-gtk"

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 13 년 전
부모
커밋
d6dfc2109c
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      package/transmission/Config.in

+ 3 - 1
package/transmission/Config.in

@@ -36,10 +36,12 @@ config BR2_PACKAGE_TRANSMISSION_REMOTE
 
 config BR2_PACKAGE_TRANSMISSION_GTK
 	bool "transmission-gtk"
-	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_PACKAGE_LIBGTK2 && BR2_ENABLE_LOCALE
 	help
 	  Install transmission GTK-based GUI interface.
 
+comment "transmission-gtk requires a toolchain with locale support"
+	depends on BR2_PACKAGE_LIBGTK2 && !BR2_ENABLE_LOCALE
 endif
 
 comment "Transmission requires a toolchain with IPv6 support"