zsh: needs mmu
diff mbox

Message ID 1380763207.1614.1.camel@phoenix
State Accepted
Commit 05b442a62886f9a6efe5a8a5d025e11d72e8656c
Headers show

Commit Message

Axel Lin Oct. 3, 2013, 1:20 a.m. UTC
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>
---
 package/zsh/Config.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Peter Korsgaard Oct. 3, 2013, 6:48 a.m. UTC | #1
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:

 Axel> Fix below build error if !BR2_USE_MMU:
 Axel> exec.o: In function `zfork':
 Axel> exec.c:(.text+0x150c): undefined reference to `fork'
 Axel> collect2: ld returned 1 exit status
 Axel> make[2]: *** [zsh] Error 1

 Axel> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Committed, thanks.

Patch
diff mbox

diff --git a/package/zsh/Config.in b/package/zsh/Config.in
index fd63aa9..6853249 100644
--- a/package/zsh/Config.in
+++ b/package/zsh/Config.in
@@ -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