diff --git a/src/parallel/decompose/ptscotchDecomp/Make/options b/src/parallel/decompose/ptscotchDecomp/Make/options
index 733441c3fc7c175eee31ea441da4c30a58b8dc3e..4d8690985afd93ff5e234354d28e59e23f225f2f 100644
--- a/src/parallel/decompose/ptscotchDecomp/Make/options
+++ b/src/parallel/decompose/ptscotchDecomp/Make/options
@@ -16,4 +16,9 @@ LIB_LIBS = \
     -L$(FOAM_EXT_LIBBIN) \
     -L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) \
     -lptscotch -lptscotcherrexit \
-    -lscotch -lrt
+    -lscotch
+
+/* May require librt, but scotch does not declare the dependency */
+ifeq ("$(SO)","so")
+    LIB_LIBS += -lrt
+endif
diff --git a/src/parallel/decompose/scotchDecomp/Make/options b/src/parallel/decompose/scotchDecomp/Make/options
index d2165b174daf7024a31d66867f544a48c774543b..6846910c047d5b99af377adbe16d1cd9289a3994 100644
--- a/src/parallel/decompose/scotchDecomp/Make/options
+++ b/src/parallel/decompose/scotchDecomp/Make/options
@@ -12,4 +12,9 @@ EXE_INC = \
 
 LIB_LIBS = \
     -L$(SCOTCH_LIB_DIR) \
-    -lscotch -lscotcherrexit -lrt
+    -lscotch -lscotcherrexit
+
+/* May require librt, but scotch does not declare the dependency */
+ifeq ("$(SO)","so")
+    LIB_LIBS += -lrt
+endif