[scotch] Fix under-linked libraries (#1098680)

Miro HronĨok churchyard at fedoraproject.org
Sat Jul 5 19:29:50 UTC 2014


commit 6c00cad0add1a66bef00f8aa2d3b3785e84bd022
Author: Sandro Mani <manisandro at gmail.com>
Date:   Sat Jul 5 21:29:53 2014 +0200

    Fix under-linked libraries (#1098680)

 scotch-Makefile.shared.inc.in |    2 +-
 scotch.spec                   |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/scotch-Makefile.shared.inc.in b/scotch-Makefile.shared.inc.in
index 5bb5083..23b94a3 100644
--- a/scotch-Makefile.shared.inc.in
+++ b/scotch-Makefile.shared.inc.in
@@ -4,7 +4,6 @@ OBJ		= .o
 
 MAKE		= make
 AR		= gcc
-ARFLAGS		= -shared -Wl,-soname=$@.0 -o
 CAT		= cat
 CCS		= gcc
 CCP     	= mpicc
@@ -15,6 +14,7 @@ CFLAGS		= @RPMFLAGS@ \
 		-Drestrict=__restrict -DIDXSIZE64
 CLIBFLAGS	= -shared -fPIC
 LDFLAGS		= -lz -lbz2 -llzmadec -lm -lrt  -lpthread
+ARFLAGS		= -shared -Wl,-soname=$@.0 $(LDFLAGS) -o
 CP		= cp -av
 LEX		= flex
 LN		= ln
diff --git a/scotch.spec b/scotch.spec
index 68aa7c4..39ad63a 100644
--- a/scotch.spec
+++ b/scotch.spec
@@ -1,7 +1,7 @@
 Summary:	Graph, mesh and hypergraph partitioning library
 Name:		scotch
 Version:	6.0.0
-Release:	6%{?dist}
+Release:	7%{?dist}
 License:	CeCILL-C
 Group:		Development/Libraries
 URL:		http://www.labri.fr/perso/pelegrin/scotch/
@@ -288,6 +288,9 @@ popd
 %doc scotch_%{version}/README.txt scotch_%{version}/doc/*
 
 %changelog
+* Sat Jul 05 2014 Sandro Mani <manisandro at gmail.com> - 6.0.0-7
+- Fix under-linked libraries (#1098680)
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 6.0.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list