diff options
author | Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> | 2016-04-12 13:54:59 +0200 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2016-04-13 11:33:37 +0200 |
commit | e82fb848a715057de637559c889aebdce819ccfa (patch) | |
tree | 561a187efe7e228458071e6a6b3aa3f734b99cc4 /eclass/multilib.eclass | |
parent | prefix/cygwin/x64/make.defaults: define multilib values (diff) | |
download | gentoo-e82fb848a715057de637559c889aebdce819ccfa.tar.gz gentoo-e82fb848a715057de637559c889aebdce819ccfa.tar.bz2 gentoo-e82fb848a715057de637559c889aebdce819ccfa.zip |
multilib.eclass (get_libname): Cygwin uses (unversioned) import libs named dll.a
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r-- | eclass/multilib.eclass | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index 69582b652c21..d1c19ff55262 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -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}";; |