[PATCH] fix DSO linking

Gleb F-Malinovskiy glebfm на altlinux.org
Вс Май 20 18:35:50 MSK 2012


---
 scotch_5.1/src/scotch/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scotch_5.1/src/scotch/Makefile b/scotch_5.1/src/scotch/Makefile
index 41a56a1..7030a85 100644
--- a/scotch_5.1/src/scotch/Makefile
+++ b/scotch_5.1/src/scotch/Makefile
@@ -315,7 +315,7 @@ gout$(EXE)			:	gout_c.c				\
 					gout_o.c				\
 					$(includedir)/scotch.h			\
 					$(libdir)/libscotch$(LIB)
-					$(CC) $(CFLAGS) -I../libscotch -I$(includedir) gout_c.c gout_o.c -o $(@) -L$(libdir) -lscotch -lscotcherrexit $(LDFLAGS)
+					$(CC) $(CFLAGS) -I../libscotch -I$(includedir) gout_c.c gout_o.c -o $(@) -L$(libdir) -lscotch -lscotcherrexit -lpthread $(LDFLAGS)
 
 gpart$(EXE)			:	gmap.c					\
 					../libscotch/module.h			\
@@ -324,7 +324,7 @@ gpart$(EXE)			:	gmap.c					\
 					$(libdir)/libscotch$(LIB)		\
 					$(libdir)/libscotcherrexit$(LIB)	\
 					gmap.h
-			 		$(CC) $(CFLAGS) -I$(includedir) -I../libscotch $(<) -DSCOTCH_COMPILE_PART -o $(@) -L$(libdir) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit $(LDFLAGS)
+					$(CC) $(CFLAGS) -I$(includedir) -I../libscotch $(<) -DSCOTCH_COMPILE_PART -o $(@) -L$(libdir) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit -lpthread $(LDFLAGS)
 
 
 gscat$(EXE)			:	gscat.c					\
-- 
1.7.9.6


--------------090405090000020308060009--


Подробная информация о списке рассылки Devel