summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2016-05-09 18:08:06 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2016-05-09 18:08:06 +0200
commit1e338461e8d2c0d2cbb7d10b02db7b56a2a8e8ec (patch)
treeca9706fb8e7cc69b310113a1b50096122f48a8ce
parentdev-util/gertty: adding because gerrit's UI sucks (diff)
downloadgentoo-1e338461e8d2c0d2cbb7d10b02db7b56a2a8e8ec.tar.gz
gentoo-1e338461e8d2c0d2cbb7d10b02db7b56a2a8e8ec.tar.bz2
gentoo-1e338461e8d2c0d2cbb7d10b02db7b56a2a8e8ec.zip
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.
-rw-r--r--eclass/multilib.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index d1c19ff55262..8c953871a656 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}";;