|
|
@ -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\
|
|
|
|