| 1 |
Fromscip-debian debian cbflib 0.9.7+dfsg1-5.1 cbflib/patches/`0008-makefile-fix-Add-SONAME-to-linker-flags.patch`#From.: Teemu Ikonen <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian cbflib 0.9.7+dfsg1-5.1 cbflib/patches/`0008-makefile-fix-Add-SONAME-to-linker-flags.patch`#Date.: Thu, 11 Oct 2018 10:37:37 +0300 |
| 3 |
Subjectscip-debian debian cbflib 0.9.7+dfsg1-5.1 cbflib/patches/`0008-makefile-fix-Add-SONAME-to-linker-flags.patch`#Subject.: makefile-fix: Add SONAME to linker flags. |
| 4 |
|
| 5 |
--- |
| 6 |
Makefile | 4 +++- |
| 7 |
1 file changed, 3 insertions(+), 1 deletion(-) |
| 8 |
|
| 9 |
diff --git a/Makefilescip-debian debian cbflib 0.9.7+dfsg1-5.1 cbflib/upstream/Makefile: b/Makefilescip-debian debian cbflib 0.9.7+dfsg1-5.1 cbflib/upstream/Makefile: |
| 10 |
index 480dd94..4bfa95c 100644 |
| 11 |
--- a/Makefile |
| 12 |
+++ b/Makefile |
| 13 |
@@ -252,6 +252,8 @@ |
| 14 |
|
| 15 |
# Version string |
| 16 |
VERSION = 0.9.7 |
| 17 |
+SOVERSION = libcbf.so.1.0.0 |
| 18 |
+SONAME = libcbf.so.1 |
| 19 |
|
| 20 |
# |
| 21 |
# Directories |
| 22 |
@@ -675,7 +677,7 @@ F90C = gfortran |
| 23 |
F90FLAGS = -g -fno-range-check -fallow-invalid-boz |
| 24 |
F90LDFLAGS = |
| 25 |
SOCFLAGS = -fPIC |
| 26 |
|
| 27 |
+SOLDFLAGS = -shared -Wl,-soname -Wl,$(SONAME) |
| 28 |
JAVAINCLUDES = -I$(JDKDIR)/include -I$(JDKDIR)/include/linux |
| 29 |
ifeq ($(HDF5_PREFIX),) |
| 30 |
LDPREFIX = LD_LIBRARY_PATH=$(SOLIB):$(LIB):$$LD_LIBRARY_PATH;export LD_LIBRARY_PATH; |