@@ -137,7 +137,7 @@ script:
137137 - echo -en 'travis_fold:end:script.build\\r'
138138###
139139 - echo 'Copy...' && echo -en 'travis_fold:start:script.copy\\r'
140− - cabal v1-copy
140+ - LD_PRELOAD=/opt/ghc/${GHCVER}/lib/ghc-${GHCVER}/rts/libffi.so.7 cabal v1-copy
141141 - echo -en 'travis_fold:end:script.copy\\r'
142142###
143143 - echo 'Register...' && echo -en 'travis_fold:start:script.register\\r'
@@ -153,7 +153,7 @@ script:
153153 - echo 'Tests...' && echo -en 'travis_fold:start:script.tests\\r'
154154 - for test in $TESTS; do
155155 echo "make TEST-JOBS=2 $test";
156− travis_wait make TEST-JOBS=2 $test;
156+ travis_wait LD_PRELOAD=/opt/ghc/${GHCVER}/lib/ghc-${GHCVER}/rts/libffi.so.7 make TEST-JOBS=2 $test;
157157 done
158158 - echo -en 'travis_fold:end:script.tests\\r'
159159###