kumquat-buildroot/package/guile/Config.in
Pedro Aguilar 5050f07fdf package/guile: Fix build failure due to missing libiconv
When building package guile with BR2_ENABLE_LOCALE=n
we get the following error:

```
In file included from filesys.c:95:
ports-internal.h:26:10: fatal error: iconv.h: No such file or directory
   26 | #include <iconv.h>
      |          ^~~~~~~~~
compilation terminated.
```

So let's fix it by selecting BR2_PACKAGE_LIBICONV and
adding libiconv package as dependency.

Signed-off-by: Pedro Aguilar <paguilar@paguilar.org>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-12 23:18:37 +01:00

22 lines
773 B
Plaintext

config BR2_PACKAGE_GUILE
bool "guile"
depends on !BR2_TOOLCHAIN_USES_MUSL # no strtol_l
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc
depends on BR2_USE_WCHAR # libunistring
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LIBUNISTRING
select BR2_PACKAGE_LIBFFI
select BR2_PACKAGE_GMP
select BR2_PACKAGE_BDWGC
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Guile is an interpreter and compiler for the Scheme
programming language, a clean and elegant dialect of Lisp.
http://www.gnu.org/software/guile
comment "guile needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL