[OE-core] [PATCH 20/24] perl: Account for libnsl being dropped from glibc
Khem Raj
raj.khem at gmail.com
Sun Apr 29 19:36:07 UTC 2018
-lnsl needs to be removed even on glibc
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-devtools/perl/perl_5.24.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb
index 53a426289a..6b16689386 100644
--- a/meta/recipes-devtools/perl/perl_5.24.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.24.1.bb
@@ -145,7 +145,6 @@ do_configure() {
-e "s,\(i_fcntl=\)'undef',\1'define',g" \
-e "s,\(h_fcntl=\)'false',\1'true',g" \
-e "s,-fstack-protector,-fno-stack-protector,g" \
- -e "s,-lnsl,,g" \
config.sh-${TARGET_ARCH}-${TARGET_OS}
fi
@@ -158,6 +157,7 @@ do_configure() {
-e "s, at BASELIBDIR@,${base_libdir},g" \
-e "s, at EXECPREFIX@,${exec_prefix},g" \
-e 's, at USRBIN@,${bindir},g' \
+ -e "s,-lnsl,,g" \
config.sh-${TARGET_ARCH}-${TARGET_OS}
case "${TARGET_ARCH}" in
--
2.17.0
More information about the Openembedded-core
mailing list