From daecd139bf8ecf6fb58ede80d25c457a14058a15 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Sat, 7 Nov 2009 03:00:25 +0000 Subject: [PATCH] Explicitly link with libpthread --- scotch-Makefile.inc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scotch-Makefile.inc.in b/scotch-Makefile.inc.in index b896f63..156d547 100644 --- a/scotch-Makefile.inc.in +++ b/scotch-Makefile.inc.in @@ -10,7 +10,7 @@ CCS = gcc CCP = mpicc CCD = mpicc CFLAGS = @RPMFLAGS@ -O3 -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_PTHREAD -DSCOTCH_RENAME -LDFLAGS = -lz -lm -lrt +LDFLAGS = -lpthread -lz -lm -lrt CP = cp -a LEX = flex LN = ln