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