use libffi bcond for the ghc-tarballs removal too

This commit is contained in:
Jens Petersen 2010-11-08 11:12:12 +10:00
parent 256ed2a656
commit 6cb68b9d15

View File

@ -125,7 +125,10 @@ They should be installed when GHC's profiling subsystem is needed.
%endif
# use system libraries
rm -r ghc-tarballs
rm -r ghc-tarballs/{mingw,perl}
%if %{with libffi}
rm -r ghc-tarballs/libffi
%endif
%build
cat > mk/build.mk << EOF