RPATH that needs to be fixed is not always first

epel9
Jens Petersen 12 years ago
parent 1b2339d407
commit 0dd634c574

@ -133,7 +133,7 @@ for i in %*; do\
PROG=%{buildroot}%{_bindir}/$i\ PROG=%{buildroot}%{_bindir}/$i\
RPATH=$(chrpath $PROG| sed -e "s@^$PROG: RPATH=@@")\ RPATH=$(chrpath $PROG| sed -e "s@^$PROG: RPATH=@@")\
case $RPATH in\ case $RPATH in\
$PDIR*)\ *$PDIR*)\
NEWRPATH=$(echo $RPATH | sed -e "s@$PDIR@%{ghclibdir}@g" -e "s@/dist/build@@g")\ NEWRPATH=$(echo $RPATH | sed -e "s@$PDIR@%{ghclibdir}@g" -e "s@/dist/build@@g")\
chrpath -r $NEWRPATH $PROG\ chrpath -r $NEWRPATH $PROG\
;;\ ;;\

Loading…
Cancel
Save