d-configure-ld-library-path
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Mon, 6 Nov 2017 09:03:32 +0000 (09:03 +0000)
committerXimin Luo <infinity0@debian.org>
Mon, 6 Nov 2017 09:03:32 +0000 (09:03 +0000)
Gbp-Pq: Name d-configure-ld-library-path.patch

configure

index d68f27bc8f2786e1808d2af5451618f87e3ffdff..d73d8a69d03fc553130882840ddadbc03a9940ab 100755 (executable)
--- a/configure
+++ b/configure
@@ -680,7 +680,7 @@ then
     fi
 
     CMD="${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF}"
-    LRV=`LD_LIBRARY_PATH=${CFG_LOCAL_RUST_ROOT}/lib $CMD --version`
+    LRV=`LD_LIBRARY_PATH=${CFG_LOCAL_RUST_ROOT}/lib:${LD_LIBRARY_PATH} $CMD --version`
     if [ $? -ne 0 ]
     then
         step_msg "failure while running $CMD --version"