libscotchDecomp : no library librt for Mac OS X

This commit is contained in:
Martin Beaudoin 2012-06-20 00:27:44 -04:00
parent d706e1a521
commit 0e0052604b

View file

@ -2,7 +2,13 @@ EXE_INC = \
-I$(SCOTCH_INCLUDE_DIR) \
-I../decompositionMethods/lnInclude
ifeq ($(WM_ARCH_BASE), darwin)
/* No librt for Mac OS X */
LIB_LIBS = \
-L$(SCOTCH_LIB_DIR) -lscotch \
-L$(SCOTCH_LIB_DIR) -lscotcherrexit \
-lrt
-L$(SCOTCH_LIB_DIR) -lscotcherrexit
else
LIB_LIBS = \
-L$(SCOTCH_LIB_DIR) -lscotch \
-L$(SCOTCH_LIB_DIR) -lscotcherrexit -lrt
endif