output args to %ghc_fix_rpath

This commit is contained in:
Jens Petersen 2019-07-31 08:04:40 +00:00
parent 4288e26af9
commit 6dd89e3044

View File

@ -169,6 +169,7 @@ fi\
%ghc_fix_rpath()\ %ghc_fix_rpath()\
%if %{undefined disable_ghc_fix_rpath}\ %if %{undefined disable_ghc_fix_rpath}\
if ! type chrpath > /dev/null; then exit 1; fi\ if ! type chrpath > /dev/null; then exit 1; fi\
echo "ghc_fix_rpath %*"\
for i in $(find %{buildroot} -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -print); do\ for i in $(find %{buildroot} -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -print); do\
for lib in %*; do\ for lib in %*; do\
if [ -x "$i" ]; then\ if [ -x "$i" ]; then\