[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110537] AC_SEARCH_LIBS does not honor --with-sysroot=

From: anonyme
Subject: [sr #110537] AC_SEARCH_LIBS does not honor --with-sysroot=
Date: Thu, 9 Sep 2021 12:46:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0


                 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: calimeroteknik@free.fr
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None



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

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


Reply to this item at:


  Message posté via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]