[oe] [PATCH] shadow: fix rpath issues

Eric Benard eric at eukrea.com
Sat Feb 19 14:36:43 UTC 2011


Hi Tom,

On 18/02/2011 15:30, Tom Rini wrote:
> On 02/18/2011 05:30 AM, Eric Bénard wrote:
>> * add --disable-rpath (not enough with angstrom 2008.1)
>> * fix build problems with rpath on older libtool
>> * bump INC_PR
>>
>> Signed-off-by: Eric Bénard<eric at eukrea.com>>>
>> +do_configure_append () {
>> + # use same fix as libiconv
>> + sed -i -e s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ \
>> + -e s/^runpath_var/#runpath_var/ ${S}/*-libtool
>> +}
>> +
>> do_install_append() {
>> # Ensure that /etc/skel is created so any default files that we want copied
>> into new users home
>> # dirs can be put in there later (ideal for .xinitrc for example).
>
> The equiv I found in poky is:
> do_configure_append() {
> # Fix RPATH issues.
> sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
> ${S}/config.status
> }
>
> Any preference? Aside from I think we should be internally consistent in these
> fixes, so long as it's fixed...
>
after testing this one, it doesn't work for shadow (angstrom 2008.1 , armv5
target).

And poky's shadow is not fixed for rpath :
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-extended/shadow/shadow.inc

Eric




More information about the Openembedded-devel mailing list