diff --git a/ghc.spec b/ghc.spec index 5aa925a..f6121e8 100644 --- a/ghc.spec +++ b/ghc.spec @@ -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