vsftpd: Fix dependency for needs mmu
authorAxel Lin <axel.lin@ingics.com>
Sat, 7 Sep 2013 06:07:23 +0000 (14:07 +0800)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 11 Sep 2013 10:56:33 +0000 (12:56 +0200)
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>
package/vsftpd/Config.in

index 3d4cff1c07d891fe6b02924e924678967400bfbb..54ef7bdc7349bdf64999814af58ae5d7d092af76 100644 (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/