diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-03 19:17:06 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-03 19:21:59 +0100 |
commit | 516259e93024db6c4dc214f559666817fe114843 (patch) | |
tree | 3078efc6335fa93d895a6ad598792650cdf511de /testsuite/tests/ghci/linking/Makefile | |
parent | 46756475725fcbec9c1d3ad6f503d688c23bd39b (diff) | |
download | haskell-516259e93024db6c4dc214f559666817fe114843.tar.gz |
Fix ghcilink002 and others when dynamic-by-default
It was linking base etc, but not the RTS, which was causing
"undefined symbol: stg_newByteArrayzh"
Diffstat (limited to 'testsuite/tests/ghci/linking/Makefile')
-rw-r--r-- | testsuite/tests/ghci/linking/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghci/linking/Makefile b/testsuite/tests/ghci/linking/Makefile index a4e719ef52..2f53b6b811 100644 --- a/testsuite/tests/ghci/linking/Makefile +++ b/testsuite/tests/ghci/linking/Makefile @@ -31,7 +31,7 @@ ghcilink002 : $(RM) -rf dir002 mkdir dir002 "$(TEST_HC)" -c -dynamic f.c -o dir002/foo.o - "$(TEST_HC)" -shared -v0 -o dir002/$(call DLL,foo) dir002/foo.o + "$(TEST_HC)" -no-auto-link-packages -shared -v0 -o dir002/$(call DLL,foo) dir002/foo.o echo "test" | "$(TEST_HC)" --interactive -ignore-dot-ghci -v0 -Ldir002 -lfoo TestLink.hs # Test 3: ghci -lstdc++ @@ -93,7 +93,7 @@ ghcilink005 : '$(GHC_PKG)' --no-user-package-db -f $(LOCAL_PKGCONF005) register $(PKG005) -v0 # "$(TEST_HC)" -c -dynamic f.c -o dir005/foo.o - "$(TEST_HC)" -shared -o dir005/$(call DLL,foo) dir005/foo.o + "$(TEST_HC)" -no-auto-link-packages -shared -o dir005/$(call DLL,foo) dir005/foo.o echo "test" | "$(TEST_HC)" --interactive -ignore-dot-ghci -v0 -package-db $(LOCAL_PKGCONF005) -package test TestLink.hs # Test 6: |