caam

changeset 34:1ef741b72295

Try to use -Wl,-rpath= instead of -R
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 22 Feb 2020 12:19:15 +0900
parents 24e3498cea00
children bcc4ae4e2d64
files wrap/gcc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/wrap/gcc	Sat Feb 22 11:55:56 2020 +0900
     1.2 +++ b/wrap/gcc	Sat Feb 22 12:19:15 2020 +0900
     1.3 @@ -7,7 +7,7 @@
     1.4      oifs=$IFS
     1.5      IFS=:
     1.6      for d in $LD_RUN_PATH; do
     1.7 -      ldf=$ldf"${ldf:+ }-R $d -L $d"
     1.8 +      ldf=$ldf"${ldf:+ }-Wl,-rpath=$d -L$d"
     1.9      done
    1.10      IFS=$oifs
    1.11    fi