Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 7baa94b7e -> 87328f042


Add runtime/c to dev env PATH under MinGW


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/f44a56ce
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/f44a56ce
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/f44a56ce

Branch: refs/heads/master
Commit: f44a56ced787dd26cd0414c664d3f84bb7bb24d9
Parents: 7baa94b
Author: Nick Wellnhofer <[email protected]>
Authored: Mon Jul 21 21:58:02 2014 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Mon Jul 21 21:58:02 2014 +0200

----------------------------------------------------------------------
 devel/bin/setup_env.sh | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/f44a56ce/devel/bin/setup_env.sh
----------------------------------------------------------------------
diff --git a/devel/bin/setup_env.sh b/devel/bin/setup_env.sh
index 8d23c3c..64efe54 100644
--- a/devel/bin/setup_env.sh
+++ b/devel/bin/setup_env.sh
@@ -74,7 +74,13 @@ export PERL5LIB=`add_to_path "$PERL5LIB" 
"$compiler_dir/perl/blib/lib"`
 export PERL5LIB=`add_to_path "$PERL5LIB" "$runtime_dir/perl/blib/arch"`
 export PERL5LIB=`add_to_path "$PERL5LIB" "$runtime_dir/perl/blib/lib"`
 
-if [ `uname` != Darwin ]; then
-    export LD_LIBRARY_PATH=`add_to_path "$LD_LIBRARY_PATH" "$runtime_dir/c"`
-fi
+case `uname` in
+    MINGW*)
+        export PATH=`add_to_path "$PATH" "$runtime_dir/c"`
+       ;;
+    Darwin*)
+        ;;
+    *)
+        export LD_LIBRARY_PATH=`add_to_path "$LD_LIBRARY_PATH" 
"$runtime_dir/c"`
+esac
 

Reply via email to