0001-Revert-Only-add-iconv-to-the-.pc-file-if-needed-1825.patch 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. From 3879afd473a256173cc626e16293f3fe8875f2d6 Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Sat, 6 Jan 2024 09:53:23 +0100
  4. Subject: [PATCH] Revert "Only add "iconv" to the .pc file if needed (#1825)"
  5. This reverts commit 1f35c466aaa9444335a1b854b0b7223b0d2346c2.
  6. Upstream: no dedicated PR for this revert but there is already plenty of PRs/issues to fix iconv build ...
  7. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  8. ---
  9. configure.ac | 4 +---
  10. 1 file changed, 1 insertion(+), 3 deletions(-)
  11. diff --git a/configure.ac b/configure.ac
  12. index 93f7af94..204a4e69 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -455,9 +455,7 @@ if test "x$with_iconv" != "xno"; then
  16. AC_CHECK_HEADERS([localcharset.h])
  17. am_save_LIBS="$LIBS"
  18. LIBS="${LIBS} ${LIBICONV}"
  19. - if test -n "$LIBICONV"; then
  20. - LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }iconv"
  21. - fi
  22. + LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }iconv"
  23. AC_CHECK_FUNCS([locale_charset])
  24. LIBS="${am_save_LIBS}"
  25. if test "x$ac_cv_func_locale_charset" != "xyes"; then
  26. --
  27. 2.43.0