eclass/portability: Sync with Gentoo

It's from Gentoo commit 43427a0da4dfdc9f046b5c8bd7d106f6c9661b90.
This commit is contained in:
Flatcar Buildbot 2023-06-05 07:13:43 +00:00
parent e0f13b25d3
commit 3be359e77f

View File

@ -90,9 +90,8 @@ dlopen_lib() {
# - Darwin needs nothing
# - *BSD needs nothing
# - Linux needs -ldl (glibc and uclibc)
# - Interix needs -ldl
case "${CHOST}" in
*-linux-gnu*|*-linux-uclibc|*-interix*)
*-linux-gnu*|*-linux-uclibc)
echo "-ldl"
;;
esac