[oe] [PATCH] cacaoh: patches to get do_install do its work

Khem Raj raj.khem at gmail.com
Mon Oct 25 17:49:48 UTC 2010


On 10/25/10, Enrico Scholz <enrico.scholz at sigma-chemnitz.de> wrote:
> Khem Raj <raj.khem at gmail.com> writes:
>
>>>> -    install -m 0755 src/cacaoh/.libs/cacaoh
>>>> ${STAGING_BINDIR}/cacaoh-cldc-${PV}
>>>> +    install -m 0755 src/cacaoh/cacaoh
>>>> ${STAGING_BINDIR}/cacaoh-cldc-${PV}
>>>
>>> This is the wrong way to install libtool binaries/libraries.  Please
>>> use 'libtool --mode=install install -m ...' (or the platform prefixed
>>> 'libtool' program).
>>
>> whats the difference ?
>
> * 'libtool --mode=install' is the documented way[1] to install libtool
>   binaries (in case of libraries, a 'libtool --mode=finish' might be
>   required too)

that should not be a problem here as its not a library and does not have .la
files to be fixed.

>
> * libtool creates sometimes a wrapper script for executables (e.g. when
>   they are linked against local libraries) and places the real executable
>   in .libs/.  Manually installing one of them is error prone and it might
>   break with other linker flags or libtool versions.
>

the binary in .libs do not exist so the link is final in this case.
but in any case If you can come up with a patch to install it using
libtool that would be nice.

>
> Enrico
>
> Footnotes:
> [1]  info libtool -> Installing libraries + Installing executables
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>


-- 
-Khem




More information about the Openembedded-devel mailing list