perl: Account for libnsl being dropped from glibc

-lnsl needs to be removed even on glibc

(From OE-Core rev: 1d1e2f2c44aa6d02458cec720bee2818cbaa31ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2018-04-28 00:41:31 -07:00
committed by Richard Purdie
parent fd912fec3e
commit 7d29f786f6

View File

@@ -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