diff --git a/package/mpd/Config.in b/package/mpd/Config.in index 1b6815e904..831cbe933d 100644 --- a/package/mpd/Config.in +++ b/package/mpd/Config.in @@ -226,16 +226,17 @@ config BR2_PACKAGE_MPD_LIBNFS comment "nfs support needs a toolchain w/ threads support" depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) -comment "samba support needs a glibc toolchain w/ dynamic library, RPC" - depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_NATIVE_RPC +comment "samba support needs a glibc or uclibc toolchain w/ dynamic library, NPTL" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_USES_MUSL || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL config BR2_PACKAGE_MPD_LIBSMBCLIENT bool "samba" - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC - depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_USES_MUSL # samba4 + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # samba4 + depends on !BR2_STATIC_LIBS # samba4 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # samba4 select BR2_PACKAGE_SAMBA4 help Enable Samba support.