mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
attr: Fix compilation on uclibc
It needs -lintl added to LDFLAGS for uclibc inherit gettext class instead of adding gettext to DEPENDS directly (From OE-Core rev: 53f421bd2a7dc4caf8cbf4ea1b04cf00ea158b2c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -20,3 +20,7 @@ do_install_append() {
|
||||
sed -i ${D}${libdir}/libattr.la -e \
|
||||
s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
|
||||
}
|
||||
|
||||
# Only append ldflags for target recipe
|
||||
LDFLAGS_libc-uclibc += "${@['', '-lintl']['${PN}' == '${BPN}']}"
|
||||
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
# this build system is mostly shared by attr and acl
|
||||
|
||||
DEPENDS =+ "gettext"
|
||||
|
||||
SRC_URI += "file://relative-libdir.patch;striplevel=0 \
|
||||
file://no-fixed-prog-path.patch"
|
||||
|
||||
inherit autotools
|
||||
inherit autotools gettext
|
||||
|
||||
# the package comes with a custom config.h.in, it cannot be
|
||||
# overwritten by autoheader
|
||||
|
||||
Reference in New Issue
Block a user