ARROW-1048: Use existing LD_LIBRARY_PATH in source release script to 
accommodate non-system toolchain libs

Tripped on this again when cutting the 0.4.1 rc0. cc @kou

Author: Wes McKinney <wes.mckin...@twosigma.com>

Closes #738 from wesm/ARROW-1048 and squashes the following commits:

f335c09 [Wes McKinney] Use existing LD_LIBRARY_PATH in source release script to 
accommodate non-system toolchain libraries


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/7a7b0c22
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/7a7b0c22
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/7a7b0c22

Branch: refs/heads/master
Commit: 7a7b0c22ad28e44a2a83f63ef521c53f489dd8dc
Parents: e344066
Author: Wes McKinney <wes.mckin...@twosigma.com>
Authored: Wed Jun 7 22:31:39 2017 +0900
Committer: Wes McKinney <wes.mckin...@twosigma.com>
Committed: Sun Jun 11 11:13:25 2017 -0400

----------------------------------------------------------------------
 dev/release/02-source.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/7a7b0c22/dev/release/02-source.sh
----------------------------------------------------------------------
diff --git a/dev/release/02-source.sh b/dev/release/02-source.sh
index d3d94af..508141e 100755
--- a/dev/release/02-source.sh
+++ b/dev/release/02-source.sh
@@ -74,7 +74,7 @@ cd ${extract_dir}/c_glib
 ./configure \
   PKG_CONFIG_PATH=$cpp_install_dir/lib/pkgconfig \
   --enable-gtk-doc
-LD_LIBRARY_PATH=$cpp_install_dir/lib make -j8
+LD_LIBRARY_PATH=$cpp_install_dir/lib:$LD_LIBRARY_PATH make -j8
 make dist
 tar xzf *.tar.gz
 rm *.tar.gz
@@ -114,4 +114,3 @@ echo "Success! The release candidate is available here:"
 echo "  https://dist.apache.org/repos/dist/dev/arrow/${tagrc}";
 echo ""
 echo "Commit SHA1: ${release_hash}"
-

Reply via email to