aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2016-04-15 00:41:45 +0100
committerStuart Shelton <stuart@shelton.me>2016-04-15 00:42:23 +0100
commitcf1218e7898cfbe0b48986b5d10ca5ac660868d2 (patch)
tree288289f43c6c96f44b5711330d86e36b5d12a33a /eclass
parentUpdate sys-libs/glibc-2.22-r4 (diff)
downloadsrcshelton-cf1218e7898cfbe0b48986b5d10ca5ac660868d2.tar.gz
srcshelton-cf1218e7898cfbe0b48986b5d10ca5ac660868d2.tar.bz2
srcshelton-cf1218e7898cfbe0b48986b5d10ca5ac660868d2.zip
Update eclass/multilib.eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multilib.eclass14
1 files changed, 8 insertions, 6 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 2391ddd0..cbee144c 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: 69582b652c2149909c376854ea1c2770e1479e3f $
+# $Id: d1c19ff55262bd89ffc7b758dec92fd52d0f97de $
# @ECLASS: multilib.eclass
# @MAINTAINER:
@@ -238,11 +238,12 @@ get_libname() {
local libname
local ver=$1
case ${CHOST} in
- *-cygwin|mingw*|*-mingw*) libname="dll";;
- *-darwin*) libname="dylib";;
- *-mint*) libname="irrelevant";;
- hppa*-hpux*) libname="sl";;
- *) libname="so";;
+ *-cygwin*) libname="dll.a";; # import lib
+ mingw*|*-mingw*) libname="dll";;
+ *-darwin*) libname="dylib";;
+ *-mint*) libname="irrelevant";;
+ hppa*-hpux*) libname="sl";;
+ *) libname="so";;
esac
if [[ -z $* ]] ; then
@@ -250,6 +251,7 @@ get_libname() {
else
for ver in "$@" ; do
case ${CHOST} in
+ *-cygwin*) echo ".${libname}";;
*-darwin*) echo ".${ver}.${libname}";;
*-mint*) echo ".${libname}";;
*) echo ".${libname}.${ver}";;