Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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
......@@ -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
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