summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-10-01 02:53:13 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-10-01 19:32:35 (GMT)
commit243fe9a7d9b19ab48df88e1493c2a4dacd1e91f3 (patch)
treeb362a280f0531f1e39d7094ff41e9bc6cfd15c0e
parent51243f52e10326e872ecbd57b10fe30317f215f1 (diff)
downloadbuildroot-243fe9a7d9b19ab48df88e1493c2a4dacd1e91f3.tar.gz
buildroot-243fe9a7d9b19ab48df88e1493c2a4dacd1e91f3.tar.bz2
logrotate: needs mmu
Fix below build error: logrotate.o: In function `switch_user_permanently': /opt/test/buildroot/buildroot/output/build/logrotate-3.8.4/logrotate.c:129: undefined reference to `fork' logrotate.o: In function `removeLogFile': /opt/test/buildroot/buildroot/output/build/logrotate-3.8.4/logrotate.c:431: undefined reference to `fork' logrotate.o: In function `mailLog': /opt/test/buildroot/buildroot/output/build/logrotate-3.8.4/logrotate.c:597: undefined reference to `fork' /opt/test/buildroot/buildroot/output/build/logrotate-3.8.4/logrotate.c:615: undefined reference to `fork' logrotate.o: In function `compressLogFile': /opt/test/buildroot/buildroot/output/build/logrotate-3.8.4/logrotate.c:533: undefined reference to `fork' collect2: ld returned 1 exit status make[1]: *** [logrotate] Error 1 Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/logrotate/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/logrotate/Config.in b/package/logrotate/Config.in
index 0d0ec61..bc7b295 100644
--- a/package/logrotate/Config.in
+++ b/package/logrotate/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LOGROTATE
bool "logrotate"
select BR2_PACKAGE_POPT
depends on BR2_USE_WCHAR
+ depends on BR2_USE_MMU # fork()
help
A simple program to rotate logs.