Unbreak build.
authorPeter Zotov <whitequark@whitequark.org>
Mon, 3 Nov 2014 09:58:41 +0000 (09:58 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Mon, 3 Nov 2014 09:58:41 +0000 (09:58 +0000)
A bug in lit.cfg was introduced in r221137.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221144 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 82f6fdc..c5179f7 100644 (file)
@@ -117,7 +117,7 @@ if 'CAML_LD_LIBRARY_PATH' in os.environ:
                                 os.environ['CAML_LD_LIBRARY_PATH']))
     config.environment['CAML_LD_LIBRARY_PATH'] = caml_ld_library_path
 else:
-    config.environment['CAML_LD_LIBRARY_PATH'] = caml_ld_library_path
+    config.environment['CAML_LD_LIBRARY_PATH'] = llvm_ocaml_lib
 
 # Set up OCAMLRUNPARAM to enable backtraces in OCaml tests.
 config.environment['OCAMLRUNPARAM'] = 'b'