Commit 8ae32011 authored by Ian Lynagh's avatar Ian Lynagh

Fix #4264 on OS X

We were getting the RTS linked twice, which caused odd things to happen.
parent 81c3b716
......@@ -10,7 +10,7 @@ T3807:
$(RM) T3807test.so
$(RM) T3807-load
'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make -dynamic -fPIC -shared T3807Export.hs T3807-export.c -o T3807test.so -lHSrts-ghc`'$(TEST_HC)' $(TEST_HC_OPTS) --numeric-version`
'$(TEST_HC)' $(TEST_HC_OPTS) T3807-load.c -o T3807-load -ldl
'$(TEST_HC)' $(TEST_HC_OPTS) -no-auto-link-packages -no-hs-main T3807-load.c -o T3807-load -ldl
./T3807-load
.PHONY: T4464
......
......@@ -6,8 +6,7 @@ test('T3807',
'T3807-export.o', 'T3807-load.o',
'T3807test.so',
'T3807-load']),
if_os('mingw32', skip),
if_os('darwin', expect_broken(4264))],
if_os('mingw32', skip)],
run_command,
['$MAKE --no-print-directory -s T3807'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment