Line 0
Link Here
|
|
|
1 |
--- src/modules/lapack/Makefile.in.orig 2017-07-16 08:46:49 UTC |
2 |
+++ src/modules/lapack/Makefile.in |
3 |
@@ -82,16 +82,17 @@ $(lapack_la): $(lapack_la_OBJECTS) |
4 |
## Include BLAS here, as with (static) ATLAS that pulls all the |
5 |
## BLAS routines into one place. |
6 |
$(Rlapack_la): $(LIBOBJECTS) |
7 |
- $(DYLIB_LINK) -o $@ $(LIBOBJECTS) @RLAPACK_LDFLAGS@ @BLAS_LIBS@ $(Rlapack_la_LIBADD) |
8 |
+ $(DYLIB_LINK) -o $@ $(LIBOBJECTS) -Wl,-soname,libRlapack.so.%%LIBVER%% @BLAS_LIBS@ $(Rlapack_la_LIBADD) |
9 |
|
10 |
Rlapack_install: $(Rlapack_la) |
11 |
@$(MKINSTALLDIRS) "$(DESTDIR)$(Rexeclibdir)" |
12 |
@$(SHELL) $(top_srcdir)/tools/copy-if-change $(Rlapack_la) \ |
13 |
$(Rexeclibdir)/$(Rlapack_la) |
14 |
- |
15 |
+ @cd $(Rexeclibdir) && ln -s $(Rlapack_la) $(Rlapack_la).%%LIBVER%% |
16 |
install: installdirs |
17 |
@$(SHELL) $(top_srcdir)/tools/copy-if-change $(lapack_la) "$(DESTDIR)$(Rexecmodulesdir)/$(lapack_la)" |
18 |
@USE_EXTERNAL_LAPACK_FALSE@ @$(SHELL) $(top_srcdir)/tools/copy-if-change $(Rlapack_la) "$(DESTDIR)$(Rexeclibdir)/$(Rlapack_la)" |
19 |
+@USE_EXTERNAL_LAPACK_FALSE@ @cd "$(DESTDIR)$(Rexeclibdir)" && ln -sf $(Rlapack_la) $(Rlapack_la).%%LIBVER%% |
20 |
installdirs: |
21 |
@$(MKINSTALLDIRS) "$(DESTDIR)$(Rexecmodulesdir)" |
22 |
install-strip-Rlapack: |
23 |
@@ -104,6 +105,7 @@ install-strip: @USE_EXTERNAL_LAPACK_FALSE@ install-str |
24 |
@if test -n "$(STRIP_LIBS)"; then \ |
25 |
$(STRIP_LIBS) "$(DESTDIR)$(Rexecmodulesdir)/$(lapack_la)"; \ |
26 |
fi |
27 |
+ @cd "$(DESTDIR)$(Rexeclibdir)" && ln -s $(Rlapack_la) $(Rlapack_la).%%LIBVER%% |
28 |
uninstall: |
29 |
@rm -f "$(Rexecmodulesdir)/$(lapack_la)" |
30 |
|
31 |
yes |
32 |
native |
33 |
text/plain |