Hello Jakub,

Thanks for the bug report.

* Jakub Bogusz wrote on Wed, Mar 12, 2008 at 11:23:16PM CET:
> 
> I noticed that libtool sometimes rejects to create shared library using -l...
> to link with some import libraries failing to recognize those import
> libraries as such.
> 
> It happens if AC_CANONICAL_HOST is not issued before AC_PROG_LIBTOOL/LT_INIT
> - because libtool macros AC_REQUIRE([AC_CANONICAL_HOST]) _after_ processing
> LT_INIT options, and that's win32-dll LT_INIT option processing which
> calls AC_CHECK_TOOL for objdump, which is used to recognize type of ar
> archives.
> 
> When AC_CHECK_TOOL is issued before AC_CANONICAL_HOST, instead of finding
> cross version of objdump it finds native (Linux/x86 in my case) objdump,
> which can't recognize archive which contains PE objects.

Can you post a (preferably small) example that exposes this, plus the
error output you see?  If the example is large, then post a link to it.

This should have a testsuite test addition so we don't regress in the
future.

Thanks,
Ralf


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to