|
|
d74385 |
From 3119c671c566761a79ac98405cb619892acde3e8 Mon Sep 17 00:00:00 2001
|
|
|
d74385 |
From: Lukas Slebodnik <lslebodn@redhat.com>
|
|
|
d74385 |
Date: Fri, 20 Sep 2013 09:26:58 +0200
|
|
|
d74385 |
Subject: [PATCH] atlas-shared_libraries
|
|
|
d74385 |
|
|
|
d74385 |
---
|
|
|
d74385 |
ATLAS/makes/Make.lib | 9 +++++++--
|
|
|
d74385 |
1 file changed, 7 insertions(+), 2 deletions(-)
|
|
|
d74385 |
|
|
|
d74385 |
diff --git a/ATLAS/makes/Make.lib b/ATLAS/makes/Make.lib
|
|
|
d74385 |
index ab1eb9963d36678972a0a410905169aaa563dc64..27c6e316b442e09b0f46afac7940aaa11e25e45c 100644
|
|
|
d74385 |
--- a/ATLAS/makes/Make.lib
|
|
|
d74385 |
+++ b/ATLAS/makes/Make.lib
|
|
|
d74385 |
@@ -4,6 +4,8 @@ mySRCdir = $(SRCdir)/lib
|
|
|
d74385 |
#
|
|
|
d74385 |
# override with libatlas.so only when atlas is built to one lib
|
|
|
d74385 |
#
|
|
|
d74385 |
+so_ver_major=3
|
|
|
d74385 |
+so_ver = $(so_ver_major).10
|
|
|
d74385 |
DYNlibs = liblapack.so libf77blas.so libcblas.so libatlas.so
|
|
|
d74385 |
PTDYNlibs = liblapack.so libptf77blas.so libptcblas.so libatlas.so
|
|
|
d74385 |
CDYNlibs = liblapack.so libcblas.so libatlas.so
|
|
|
d74385 |
@@ -116,9 +116,12 @@ LDTRY:
|
|
|
d74385 |
-rpath-link $(LIBINSTdir) \
|
|
|
d74385 |
--whole-archive $(libas) --no-whole-archive $(LIBS)
|
|
|
d74385 |
GCCTRY:
|
|
|
d74385 |
- $(GOODGCC) -shared -o $(outso) \
|
|
|
d74385 |
- -Wl,"-rpath-link $(LIBINSTdir)" \
|
|
|
d74385 |
+ $(GOODGCC) -shared -o $(outso).$(so_ver) \
|
|
|
d74385 |
+ \
|
|
|
d74385 |
+ -Wl,-soname,"$(outso).$(so_ver_major)" \
|
|
|
d74385 |
-Wl,--whole-archive $(libas) -Wl,--no-whole-archive $(LIBS)
|
|
|
d74385 |
+ ln -s $(outso).$(so_ver) $(outso).$(so_ver_major)
|
|
|
d74385 |
+ ln -s $(outso).$(so_ver) $(outso)
|
|
|
d74385 |
GCCTRY_norp:
|
|
|
d74385 |
$(GOODGCC) -shared -o $(outso) \
|
|
|
d74385 |
-Wl,--whole-archive $(libas) -Wl,--no-whole-archive $(LIBS)
|
|
|
d74385 |
--
|
|
|
d74385 |
1.8.3.1
|
|
|
d74385 |
|