[oe] [PATCH] acl: fix build problems with rpath on older libtool

Tom Rini tom_rini at mentor.com
Fri Feb 18 14:28:09 UTC 2011


On 02/18/2011 04:32 AM, Eric Bénard wrote:
> * bump INC_PR
>
> Signed-off-by: Eric Bénard<eric at eukrea.com>
> ---
>   recipes/udev/acl_2.2.49.bb |    5 ++++-
>   1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/udev/acl_2.2.49.bb b/recipes/udev/acl_2.2.49.bb
> index 5a37c57..20f94db 100644
> --- a/recipes/udev/acl_2.2.49.bb
> +++ b/recipes/udev/acl_2.2.49.bb
> @@ -1,7 +1,7 @@
>   DESCRIPTION = "Commands for Manipulating POSIX Access Control Lists"
>   LICENSE = "GPLv2"
>
> -PR = "r3"
> +PR = "r4"
>
>   DEPENDS = "attr"
>
> @@ -20,6 +20,9 @@ EXTRA_OECONF = " --enable-gettext=yes \
>   do_configure_append() {
>       # gettext hack
>       echo "#define _(str) str">>  ${S}/include/config.h
> +    # 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_configure_prepend() {

I've actually got something similar, but based on how poky fixed this 
queued up, and while I was in there I cleaned up the paths a bit too. 
But you got it posted first, so do you have a preference?

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list