Commit 35d682a4 authored by Alexey Matveichev's avatar Alexey Matveichev Committed by Mark OLESEN
Browse files

COMP: make the scotch librt dependency conditional

parent 8058184b
...@@ -16,4 +16,9 @@ LIB_LIBS = \ ...@@ -16,4 +16,9 @@ LIB_LIBS = \
-L$(FOAM_EXT_LIBBIN) \ -L$(FOAM_EXT_LIBBIN) \
-L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) \ -L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) \
-lptscotch -lptscotcherrexit \ -lptscotch -lptscotcherrexit \
-lscotch -lrt -lscotch
/* May require librt, but scotch does not declare the dependency */
ifeq ("$(SO)","so")
LIB_LIBS += -lrt
endif
...@@ -12,4 +12,9 @@ EXE_INC = \ ...@@ -12,4 +12,9 @@ EXE_INC = \
LIB_LIBS = \ LIB_LIBS = \
-L$(SCOTCH_LIB_DIR) \ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment