0002-autotools-do-not-add-iconv-for-Requires.private.patch 1.1 KB

123456789101112131415161718192021222324252627
  1. From 619c1be8d38ff79622db8f66f3b02832795315f9 Mon Sep 17 00:00:00 2001
  2. From: Christian Hesse <mail@eworm.de>
  3. Date: Wed, 14 Dec 2022 09:04:39 +0100
  4. Subject: [PATCH] autotools: do not add iconv for Requires.private
  5. There is no pkgconfig file for iconv, thus things break with this
  6. change. Let's drop iconv from Requires.private.
  7. Fixes: a83f3d32 ("autotools: Fix static linking when openssl is enabled in windows")
  8. Upstream: https://github.com/libarchive/libarchive/pull/1817/commits/619c1be8d38ff79622db8f66f3b02832795315f9
  9. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  10. ---
  11. configure.ac | 1 -
  12. 1 file changed, 1 deletion(-)
  13. diff --git a/configure.ac b/configure.ac
  14. index 99bff20d1..f245d0c55 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -455,7 +455,6 @@ if test "x$with_iconv" != "xno"; then
  18. AC_CHECK_HEADERS([localcharset.h])
  19. am_save_LIBS="$LIBS"
  20. LIBS="${LIBS} ${LIBICONV}"
  21. - LIBSREQUIRED="$LIBSREQUIRED${LIBSREQUIRED:+ }iconv"
  22. AC_CHECK_FUNCS([locale_charset])
  23. LIBS="${am_save_LIBS}"
  24. if test "x$ac_cv_func_locale_charset" != "xyes"; then