From c55a305d360a6082ec7afedbfbd632e5edbb4fc5 Mon Sep 17 00:00:00 2001 From: Brendan Fabeny Date: Tue, 13 Aug 2013 05:07:35 +0000 Subject: [PATCH] Use the compiler to assemble the shared libraries, in order to avoid linking problems PR: 177201 Submitted by: marino, thierry --- math/metis-edf/files/patch-Lib_Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/math/metis-edf/files/patch-Lib_Makefile b/math/metis-edf/files/patch-Lib_Makefile index 7729cd8e605a..c6dc857c8660 100644 --- a/math/metis-edf/files/patch-Lib_Makefile +++ b/math/metis-edf/files/patch-Lib_Makefile @@ -1,5 +1,5 @@ ---- Lib/Makefile.orig 2008-12-03 11:08:03.000000000 +0100 -+++ Lib/Makefile 2010-05-16 16:33:40.000000000 +0200 +--- Lib/Makefile.orig 2008-12-03 05:08:03.000000000 -0500 ++++ Lib/Makefile 2013-08-13 00:53:40.000000000 -0400 @@ -2,7 +2,7 @@ INCLUDES = -I. @@ -13,7 +13,7 @@ ../libmetis.a: $(OBJS) $(AR) $@ $(OBJS) -+ %%SHLIB%%$(LD) -Wl,-Bshareable -Wl,-o,../libmetis.so.1 -Wl,-x -Wl,-soname,libmetis.so.1 -Wl,--whole-archive ../libmetis.a -Wl,-no-whole-archive ++ %%SHLIB%%$(CC) -shared $(CFLAGS) $(LDFLAGS) -o ../libmetis.so.1 $(OBJS) -lm + %%SHLIB%%(cd .. && ln -sf libmetis.so.1 libmetis.so) clean: