mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: make the scotch librt dependency conditional
This commit is contained in:
committed by
Mark Olesen
parent
8058184b0c
commit
35d682a4fb
@ -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
|
||||
|
||||
Reference in New Issue
Block a user