mpd: Without native RPC use libtirpc
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sun, 4 Oct 2015 15:21:53 +0000 (17:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Oct 2015 15:25:31 +0000 (16:25 +0100)
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mpd/Config.in

index 28962f703abbf88177951eefdd19844fbf3e63ea..3bfeb3e9f52d07a378b74be3cd7ba46a76805516 100644 (file)
@@ -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