# for details.
        depends on !BR2_STATIC_LIBS
        depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+       depends on BR2_USE_MMU # fork()
        help
          A Security Framework that Provides Authentication for Applications
 
 
        depends on !BR2_STATIC_LIBS # linux-pam
        depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
        depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs wordexp.h
+       depends on BR2_USE_MMU # linux-pam
        select BR2_PACKAGE_XLIB_LIBX11
        select BR2_PACKAGE_LINUX_PAM
        help
 
        depends on BR2_PACKAGE_PYTHON # C extension not compatible with python3
        depends on BR2_ENABLE_LOCALE # linux-pam
        depends on BR2_USE_WCHAR # linux-pam
+       depends on BR2_USE_MMU # linux-pam
        depends on !BR2_STATIC_LIBS # linux-pam
        depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
        select BR2_PACKAGE_LINUX_PAM
 
        depends on !BR2_STATIC_LIBS
        depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
        depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+       depends on BR2_USE_MMU # linux-pam
        select BR2_PACKAGE_LINUX_PAM
 
 comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
        depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
        depends on !BR2_STATIC_LIBS
        depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+       depends on BR2_USE_MMU # linux-pam
        select BR2_PACKAGE_LINUX_PAM
 
 comment "rshd needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
 
        depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
        depends on !BR2_STATIC_LIBS
        depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+       depends on BR2_USE_MMU # linux-pam
        select BR2_PACKAGE_LINUX_PAM
        help
          Change login shell, real user name and information
        depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
        depends on !BR2_STATIC_LIBS
        depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+       depends on BR2_USE_MMU # linux-pam
        select BR2_PACKAGE_LINUX_PAM
        help
          Build login utilities (last, login, su, sulogin)