no exec RPATH on arm with current ghc
This commit is contained in:
parent
9ec2eb0e21
commit
753e6b1a1b
|
@ -91,10 +91,12 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||
## modify:
|
||||
#%%ghc_fix_dynamic_rpath shellcheck
|
||||
# since shellcheck-%{version}/ != %{pkg_name}-%{version}/
|
||||
%if %{undefined ghc_without_dynamic}
|
||||
PDIR=$(cd ..; pwd)
|
||||
PROG=%{buildroot}%{_bindir}/shellcheck
|
||||
NEWRPATH=$(chrpath $PROG | sed -e "s@^$PROG: RPATH=@@" | sed -e "s@$PDIR/shellcheck@%{ghclibdir}/%{pkg_name}@" -e "s@/dist/build@@g")
|
||||
chrpath -r $NEWRPATH $PROG
|
||||
%endif
|
||||
|
||||
|
||||
%check
|
||||
|
|
Loading…
Reference in New Issue