Browse Source

mpd: Without native RPC use libtirpc

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Maxime Hadjinlian 9 years ago
parent
commit
8b69e6c542
1 changed files with 4 additions and 3 deletions
  1. 4 3
      package/mpd/Config.in

+ 4 - 3
package/mpd/Config.in

@@ -179,13 +179,14 @@ config BR2_PACKAGE_MPD_CURL
 
 config BR2_PACKAGE_MPD_LIBNFS
 	bool "nfs"
-	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	# libnfs -> libtirpc
+	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBNFS
 	help
 	  Enable Network File System (NFS) support.
 
-comment "nfs support needs a toolchain w/ RPC"
-	depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+comment "nfs support needs a toolchain w/ threads support"
+	depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
 
 comment "samba support needs an (e)glibc toolchain"
 	depends on !BR2_TOOLCHAIN_USES_GLIBC