[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] Re: id3lib using native ar
From: |
Tony Theodore |
Subject: |
[Mingw-cross-env-list] Re: id3lib using native ar |
Date: |
Wed, 27 Jan 2010 23:57:56 +1100 |
2010/1/27 Tony Theodore <address@hidden>:
> id3lib is failing on OSX with a "Malformed archive" error (much the
> same as gsoap) caused by using the native ar instead of the cross-ar.
> However, none of the following seem to solve the problem, and I'm
> stuck:
>
> adding AC_CHECK_TOOL([AR], [ar], [:]) to configure.in before autoconf
> - this causes ./configure to check for a cross-ar
> configuring wth ac_cv_prog_AR='$(TARGET)-ar' or
> ac_cv_prog_ac_ct_AR='$(TARGET)-ar' - to override the detection
> making with AR='$(TARGET)-ar' - to override any previous setting
>
> It seems none of the Makefiles have an AR variable, it must be hard
> coded somewhere, but I can't see where.
>
> This should be the same on all systems, a search in your log for 'ar
> cru' should show it's using the native ar.
>
> Tony
I was just looking in the wrong places... attached patch resolves the
issue, though I don't know why the other things didn't work.
Tony
id3-ar.patch
Description: Text Data