Debian Codegraph @

debian/patches/0002-Append-version-to-soname.patch

raw symbols SCIP
1 From: Punit Agrawal <[email protected]>
2 Date: Sun, 3 Mar 2019 08:40:03 +0900
3 Subject: Append version to soname
4
5 ---
6 Makefile.in | 5 +++--
7 1 file changed, 3 insertions(+), 2 deletions(-)
8
9 diff --git a/Makefile.in b/Makefile.in
10 index 4c12a56..8cc9b12 100644
11 --- a/Makefile.in
12 +++ b/Makefile.in
13 @@ -28,6 +28,7 @@ SOURCE += *.c *.lds Makefile
14 NODEPTARGETS=<version.h> <clean>
15
16 REL_VERSION=2.23
17 +SOVERSION=0
18
19 INSTALL = install
20
21 @@ -329,11 +330,11 @@ obj64/libhugetlbfs.a: $(LIBOBJS64)
22
23 obj32/libhugetlbfs.so: $(LIBOBJS32)
24 @$(VECHO) LD32 "(shared)" $@
25 - $(CC32) $(LDFLAGS) -Wl,--version-script=version.lds -Wl,-soname,$(notdir $@) -shared -o $@ $^ $(LDLIBS)
26 + $(CC32) $(LDFLAGS) -Wl,--version-script=version.lds -Wl,-soname,$(notdir $@).$(SOVERSION) -shared -o $@ $^ $(LDLIBS)
27
28 obj64/libhugetlbfs.so: $(LIBOBJS64)
29 @$(VECHO) LD64 "(shared)" $@
30 - $(CC64) $(LDFLAGS) -Wl,--version-script=version.lds -Wl,-soname,$(notdir $@) -shared -o $@ $^ $(LDLIBS)
31 + $(CC64) $(LDFLAGS) -Wl,--version-script=version.lds -Wl,-soname,$(notdir $@).$(SOVERSION) -shared -o $@ $^ $(LDLIBS)
32
33 #obj32/libhugetlbfs_privutils.a: $(LIBPUOBJS:%=obj32/%)
34 # @$(VECHO) AR32 $@