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

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Mon Oct 25 10:53:15 UTC 2010


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)

* 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.


Enrico

Footnotes: 
[1]  info libtool -> Installing libraries + Installing executables





More information about the Openembedded-devel mailing list