From 37eb604536f79b06fc8111333ba8b9986c918d92 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Thu, 21 May 2015 17:58:43 +0100
Subject: [PATCH] src/parallel/decompose/Allwmake: remove redundant -lscotch
 condition

---
 src/parallel/decompose/Allwmake | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/parallel/decompose/Allwmake b/src/parallel/decompose/Allwmake
index 3aceabafd8d..603ee5277b8 100755
--- a/src/parallel/decompose/Allwmake
+++ b/src/parallel/decompose/Allwmake
@@ -50,15 +50,6 @@ then
 
     if [ -d "$FOAM_LIBBIN/$FOAM_MPI" ]
     then
-        #- Bit of a hack: ptscotch 6 requires scotch linked as well as. Can be
-        #  removed once ptscotch declares dependency on scotch itself.
-        case "$SCOTCH_VERSION" in
-        scotch_6.*)
-            export LINK_FLAGS="-lscotch"
-            ;;
-        esac
-
-
         wmakeMpiLib ptscotchDecomp
     fi
 else
-- 
GitLab