Re: [Mingw-users] mingw64

Ralf Wildenhues <ralf.wildenhues@gmx.de>

From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: MinGW Users List <mingw-users@lists.sourceforge.net>
Cc: "mingw-w64-public@lists.sourceforge.net" <mingw-w64-public@lists.sourceforge.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-02-12T10:10:31Z
Lists: pgsql-hackers
Hello, and sorry for the delay,

* Peter Rosin wrote on Sat, Jan 29, 2011 at 02:26:24PM CET:
> Or is plain 'ar' used somewhere instead of 'x86_64-w64-mingw32-ar'?

Automake outputs 'AR = ar' in Makefile.in for rules creating old
libraries iff neither AC_PROG_LIBTOOL nor another method to define
AR correctly is used in configure.ac.

So this issue concerns packages using Automake but not using Libtool.

I figured with AM_PROG_AR eventually being needed anyway that would fix
this in one go ...

A good workaround, as already mentioned, is to use this in configure.ac:
  AC_CHECK_TOOL([AR], [ar], [false])

Cheers,
Ralf