diff options
author | Ben Gamari <ben@well-typed.com> | 2019-11-22 10:28:22 -0500 |
---|---|---|
committer | Ben Gamari <ben@well-typed.com> | 2019-11-23 10:03:37 -0500 |
commit | cf4306f1c1ca565b0bbf68eebef44aa4594e6a0f (patch) | |
tree | 1a965ae1df842cb855c9f6e2055991307c42bd7e | |
parent | d4d10501c6ec995711d626eead58b84bf413d0b3 (diff) | |
download | haskell-wip/T1407-fix.tar.gz |
testsuite: Don't override LD_LIBRARY_PATH, only prependwip/T1407-fix
NixOS development environments often require that LD_LIBRARY_PATH
be set in order to find system libraries. T1407 was overriding
LD_LIBRARY_PATH, dropping these directories. Now it merely prepends,
its directory.
-rw-r--r-- | testsuite/tests/ghci/linking/dyn/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/linking/dyn/Makefile b/testsuite/tests/ghci/linking/dyn/Makefile index d4a65a6603..ee345e5560 100644 --- a/testsuite/tests/ghci/linking/dyn/Makefile +++ b/testsuite/tests/ghci/linking/dyn/Makefile @@ -94,7 +94,7 @@ compile_libAS_impl_msvc: .PHONY: T1407 T1407: - cat T1407.script | LD_LIBRARY_PATH=. "$(TEST_HC)" $(TEST_HC_OPTS_INTERACTIVE) -L"T1407dir" + cat T1407.script | LD_LIBRARY_PATH=".:$(LD_LIBRARY_PATH)" "$(TEST_HC)" $(TEST_HC_OPTS_INTERACTIVE) -L"T1407dir" .PHONY: T3242 echo ":q" | '$(TEST_HC)' $(TEST_HC_OPTS_INTERACTIVE) -lm |