vsftpd: Fix dependency for needs mmu

Commit 2eb995759 "vsftpd: needs mmu" adds "depends on BR2_TOOLCHAIN_HAS_THREADS".

The build error is:
sysutil.c:(.text+0x37ac): undefined reference to `fork'

Thus it should depend on BR2_USE_MMU rather than BR2_TOOLCHAIN_HAS_THREADS.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Axel Lin 2013-09-07 14:07:23 +08:00 committed by Peter Korsgaard
parent fd7606117f
commit 5cad4bd403

View File

@ -1,6 +1,6 @@
config BR2_PACKAGE_VSFTPD
bool "vsftpd"
depends on BR2_TOOLCHAIN_HAS_THREADS # fork()
depends on BR2_USE_MMU # fork()
help
vsftpd is an ftp daemon written with security in mind.
http://vsftpd.beasts.org/