summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-04-28 00:41:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-09 10:47:27 +0100
commit1d1e2f2c44aa6d02458cec720bee2818cbaa31ff (patch)
treef6d4225d9b88a8bbaf8b4430b3943f03c0551634
parent6f4814dd3a14faa49b9b501ec2e19f0ff89fd860 (diff)
downloadopenembedded-core-contrib-1d1e2f2c44aa6d02458cec720bee2818cbaa31ff.tar.gz
openembedded-core-contrib-1d1e2f2c44aa6d02458cec720bee2818cbaa31ff.tar.bz2
openembedded-core-contrib-1d1e2f2c44aa6d02458cec720bee2818cbaa31ff.zip
perl: Account for libnsl being dropped from glibc
-lnsl needs to be removed even on glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/recipes-devtools/perl/perl_5.24.1.bb2
1 files changed, 1 insertions, 1 deletions
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,@BASELIBDIR@,${base_libdir},g" \
-e "s,@EXECPREFIX@,${exec_prefix},g" \
-e 's,@USRBIN@,${bindir},g' \
+ -e "s,-lnsl,,g" \
config.sh-${TARGET_ARCH}-${TARGET_OS}
case "${TARGET_ARCH}" in