xapp_xinit: depends on MMU
authorJérôme Pouiller <jezz@sysmic.org>
Fri, 12 Sep 2014 15:50:02 +0000 (17:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 12 Sep 2014 21:18:08 +0000 (23:18 +0200)
Fixes http://sysmic.org/~jezz/results/8b5af679:

xinit.o: In function `_main':
xinit.c:(.text+0x65e): undefined reference to `_fork'
xinit.c:(.text+0x7d4): undefined reference to `_fork'
collect2: ld returned 1 exit status

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/x11r7/xapp_xinit/Config.in

index aede5d969106dd42f86178a551bc05c0ffbfcff4..d9fb1c5fc86e5f2c6443adebe9add2601c8c19f5 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_XAPP_XINIT
        bool "xinit"
+       depends on BR2_USE_MMU # fork()
        # Runtime dependency: can't start an X server unless there is one
        depends on BR2_PACKAGE_XSERVER_XORG_SERVER
        # Runtime dependency; mcookie is also in util-linux