zsh: needs mmu
authorAxel Lin <axel.lin@ingics.com>
Thu, 3 Oct 2013 01:20:07 +0000 (09:20 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 3 Oct 2013 06:40:09 +0000 (08:40 +0200)
Fix below build error if !BR2_USE_MMU:

exec.o: In function `zfork':
exec.c:(.text+0x150c): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [zsh] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/zsh/Config.in

index fd63aa9190b6a7dd98484f696203075e28b291c7..6853249b987b08221f6468b9df2ba84b27877760 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ZSH
        bool "zsh"
+       depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_NCURSES
        help
          zsh is a shell designed for interactive use, although it is also