package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec)

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>
This commit is contained in:
Peter Seiderer 2019-09-19 22:02:57 +02:00 committed by Thomas Petazzoni
parent da33c130e3
commit 74dec67a84

View 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