summaryrefslogtreecommitdiff
path: root/sys-devel/native-cctools/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-17 22:49:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-17 22:49:47 +0100
commit30c53e395853f5bfe805a1e429fcf26666eed8f8 (patch)
treea0670eaf9babda7b83503f7d36806a944bb49752 /sys-devel/native-cctools/files
parentd302a5d7fc9caafba5c8a404f2891bb6ccdec311 (diff)
gentoo resync : 17.05.2018
Diffstat (limited to 'sys-devel/native-cctools/files')
-rw-r--r--sys-devel/native-cctools/files/aix-2/ld7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/native-cctools/files/aix-2/ld b/sys-devel/native-cctools/files/aix-2/ld
index 7477f11cf6e9..8f9841ef32ee 100644
--- a/sys-devel/native-cctools/files/aix-2/ld
+++ b/sys-devel/native-cctools/files/aix-2/ld
@@ -1,5 +1,5 @@
#! /usr/bin/env /bin/ksh
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2018 Gentoo Foundation; Distributed under the GPL v2
# Upon '-soname' and similar flags, create a "shared library" on AIX being an
# archive file containing an Import File and the shared object file, as in:
@@ -29,6 +29,11 @@ while [[ $# -gt 0 ]]
do
arg=$1
shift
+ case ${arg} in
+ -rpath=*)
+ arg="-R${arg#-rpath=}"
+ ;;
+ esac
oldargs="${oldargs} '${arg}'"
case ${arg} in
-o)