bug#54421: AM_PROG_AR and LT_INIT don't work together when using lib.exe

2023-01-13 Thread Mike Frysinger
On 13 Jan 2023 13:52, Tim Ruffing wrote: > On Fri, 2023-01-13 at 05:52 +, Mike Frysinger wrote: > > i think the expectation is that, if you're using libtool, then you > > use libtool.  > > Well, I *use* libtool. libtool needs some AR. I choose to use > libtool.exe with the ar-lib wrapper.

bug#54421: AM_PROG_AR and LT_INIT don't work together when using lib.exe

2023-01-13 Thread Tim Ruffing
On Fri, 2023-01-13 at 05:52 +, Mike Frysinger wrote: > i think the expectation is that, if you're using libtool, then you > use libtool.  Well, I *use* libtool. libtool needs some AR. I choose to use libtool.exe with the ar-lib wrapper.

bug#54421: AM_PROG_AR and LT_INIT don't work together when using lib.exe

2022-03-16 Thread Tim Ruffing
Hello :) Assume environment variable AR="lib.exe" and configure.ac has ``` AM_PROG_AR LT_INIT ``` Then AM_PROG_AR checks for an archiver using AC_CHECK_TOOLS. Then it detects the lib.exe interface and prefixes the AR variable with a call to ar-lib. (There's a FIXME in the code that says that