caam

changeset 38:22d4ea8f368e

s/-R/-Wl,-rpath=/
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 04 Sep 2022 11:04:37 +0900
parents a151a2cb61e8
children 428dca96344b
files wrap/c++
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/wrap/c++	Sat Feb 29 10:38:49 2020 +0900
     1.2 +++ b/wrap/c++	Sun Sep 04 11:04:37 2022 +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