commit:     1e338461e8d2c0d2cbb7d10b02db7b56a2a8e8ec
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Mon May  9 16:08:06 2016 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon May  9 16:08:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e338461

multilib.eclass (get_libname): Cygwin allows versioning symlinks

Although useless on Cygwin, some build systems or ebuilds still prefer
to create the versioning symlinks. As symlinked import libs do not harm
anything on Cygwin, just leave those build systems or ebuilds alone.

 eclass/multilib.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index d1c19ff..8c95387 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -251,7 +251,7 @@ get_libname() {
        else
                for ver in "$@" ; do
                        case ${CHOST} in
-                               *-cygwin*) echo ".${libname}";;
+                               *-cygwin*) echo ".${ver}.${libname}";;
                                *-darwin*) echo ".${ver}.${libname}";;
                                *-mint*)   echo ".${libname}";;
                                *)         echo ".${libname}.${ver}";;

Reply via email to