commit: 2b77d5b1db1d723f8ce576a58a0b2dd6a1ce9806
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 13:32:35 2021 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 13:32:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2b77d5b1
eclass/db: remove AIX stuff
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
eclass/db.eclass | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/eclass/db.eclass b/eclass/db.eclass
index df1e361e9b..96a857a196 100644
--- a/eclass/db.eclass
+++ b/eclass/db.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: db.eclass
@@ -29,22 +29,10 @@ db_fix_so() {
# now rebuild all the correct ones
local ext
- for ext in so a dylib sl; do
+ for ext in so dylib a; do
for name in libdb libdb_{cxx,tcl,java,sql,stl}; do
target="$(find . -maxdepth 1 -type f -name
"${name}-*.${ext}" |sort -V |tail -n 1)"
- [[ -n "${target}" ]] || continue;
- case ${CHOST} in
- *-aix*)
- aixdll --merge-runtime \
- --keepdir=false \
- --target="${name}.${ext}" \
- --current="${target}" \
- `find . -maxdepth 1 -type f -name
"${name}-*.${ext}"`
- ;;
- *)
- ln -sf ${target//.\//} ${name}.${ext}
- ;;
- esac;
+ [[ -n "${target}" ]] && ln -sf ${target//.\//}
${name}.${ext}
done;
done;