URL:
  <https://savannah.gnu.org/support/?110537>

                 Summary: AC_SEARCH_LIBS does not honor --with-sysroot=
                 Project: Autoconf
            Submitted by: None
            Submitted on: jeu. 09 sept. 2021 16:46:10 UTC
                Category: None
                Priority: 5 - Normal
                Severity: 4 - Important
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: calimerotek...@free.fr
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None

    _______________________________________________________

Details:

AC_SEARCH_LIBS in configure searches for libraries in the current system even
when --with-sysroot=/some/chroot/ is specified.

This is blocking cross-compilation of all software using autoconf and calling
AC_SEARCH_LIBS in configure.

Adding --sysroot=/some/chroot/ to CFLAGS and CXXFLAGS when running ./configure
clumsily circumvents the issue, as one would expect.

It comes to mind that quite possibly, AC_SEARCH_LIBS is not the only function
affected.

P.S.: bug discovered attempting to cross-compile libbsd 0.11.3




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110537>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/


Reply via email to