summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-29 18:32:31 +0100
committerSam James <sam@gentoo.org>2023-05-29 19:19:05 +0100
commit84cb85f9df809690d40267d121662933a902d541 (patch)
tree733b6445712f6a98ee3f9be1dc94d9c9a82f506d /eclass
parentmedia-libs/fontconfig: drop dead prefix targets (diff)
downloadgentoo-84cb85f9df809690d40267d121662933a902d541.tar.gz
gentoo-84cb85f9df809690d40267d121662933a902d541.tar.bz2
gentoo-84cb85f9df809690d40267d121662933a902d541.zip
multilib.eclass: drop dead prefix targets
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multilib.eclass7
1 files changed, 1 insertions, 6 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 77340a23e30f..bf9c88f7e6a4 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -213,7 +213,7 @@ number_abis() {
# Returns: null string (almost everywhere) || .exe (mingw*) || ...
get_exeext() {
case ${CHOST} in
- *-cygwin*|mingw*|*-mingw*) echo ".exe";;
+ mingw*|*-mingw*) echo ".exe";;
esac
}
@@ -230,11 +230,8 @@ get_libname() {
local libname
local ver=$1
case ${CHOST} in
- *-cygwin*) libname="dll.a";; # import lib
mingw*|*-mingw*) libname="dll";;
*-darwin*) libname="dylib";;
- *-mint*) libname="irrelevant";;
- hppa*-hpux*) libname="sl";;
*) libname="so";;
esac
@@ -243,9 +240,7 @@ get_libname() {
else
for ver in "$@" ; do
case ${CHOST} in
- *-cygwin*) echo ".${ver}.${libname}";;
*-darwin*) echo ".${ver}.${libname}";;
- *-mint*) echo ".${libname}";;
*) echo ".${libname}.${ver}";;
esac
done