package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec)
authorPeter Seiderer <ps.report@gmx.net>
Thu, 19 Sep 2019 20:02:57 +0000 (22:02 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 19 Sep 2019 20:44:25 +0000 (22:44 +0200)
Fixes:

  match.o: In function `SetMatchSpec':
  match.c:(.text+0x9c): undefined reference to `re_comp'
  match.o: In function `Match':
  match.c:(.text+0xca): undefined reference to `re_exec'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/ytree/Config.in

index 3ac9283a56e549777a6ebc54ace7025cabfd5ac3..c6f75b55908b09baf868d3d78b702c8affb6e763 100644 (file)
@@ -1,8 +1,13 @@
 config BR2_PACKAGE_YTREE
        bool "ytree"
+       depends on !BR2_TOOLCHAIN_USES_MUSL # re_comp/re_exec
        depends on BR2_USE_MMU # fork()
        select BR2_PACKAGE_NCURSES
        help
          Ytree - a (curses-based) file manager similar to DOS Xtree(tm)
 
          https://www.han.de/~werner/ytree.html
+
+comment "ytree needs a glibc or uClibc toolchain"
+       depends on BR2_USE_MMU
+       depends on BR2_TOOLCHAIN_USES_MUSL