diff mbox

findutils: needs mmu

Message ID 1380506669.14281.0.camel@phoenix
State Accepted
Commit 7a8be43c338a547ae0af02c409e492970a65c083
Headers show

Commit Message

Axel Lin Sept. 30, 2013, 2:04 a.m. UTC
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
Fix below build error:

./libfindtools.a(pred.o): In function `launch':
pred.c:(.text+0x240c): undefined reference to `fork'
collect2: .ld returned 1 exit status/libfindtools.a
(pred.o): In function `launch':
pred.c:(.text+0x240c): undefined reference to `fork'
collect2: ld returned 1 exit status
make[4]: *** [oldfind] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [find] Error 1

 package/findutils/Config.in | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/package/findutils/Config.in b/package/findutils/Config.in
index bbe2cc1..32e87c2 100644
--- a/package/findutils/Config.in
+++ b/package/findutils/Config.in
@@ -1,6 +1,7 @@ 
 config BR2_PACKAGE_FINDUTILS
 	bool "findutils"
 	depends on BR2_USE_WCHAR
+	depends on BR2_USE_MMU # fork()
 	help
 	  Basic directory searching utilities.  Provides the
 	  common 'find', 'xargs', 'locate', and 'updatedb' binaries.