diff options
-rw-r--r-- | meta/recipes-support/attr/attr.inc | 4 | ||||
-rw-r--r-- | meta/recipes-support/attr/ea-acl.inc | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index c11034069..b2ed9a1b7 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc @@ -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}']}" + diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index bc93107ac..a09c31c0d 100644 --- a/meta/recipes-support/attr/ea-acl.inc +++ b/meta/recipes-support/attr/ea-acl.inc @@ -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 |