File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ From 205e0810878af6c04bba7946379b9fbf68f64fd4 Mon Sep 17 00:00:00 2001
2
+ From: Matti Picus <
[email protected] >
3
+ Date: Thu, 11 Apr 2024 08:35:01 +1000
4
+ Subject: [PATCH] fix soname
5
+
6
+ ---
7
+ exports/Makefile | 4 ++--
8
+ 1 file changed, 2 insertions(+), 2 deletions(-)
9
+
10
+ diff --git a/exports/Makefile b/exports/Makefile
11
+ index 4d929c8d3..f36382e2c 100644
12
+ --- a/exports/Makefile
13
+ +++ b/exports/Makefile
14
+ @@ -178,7 +178,7 @@ FEXTRALIB += -lm
15
+ EXTRALIB += -lm
16
+ else
17
+ ifeq ($(FIXED_LIBNAME),1)
18
+ - INTERNALNAME = $(LIBPREFIX)$(LIBNAMESUFFIX).so
19
+ + INTERNALNAME = $(LIBPREFIX).so
20
+ else
21
+ INTERNALNAME = $(LIBPREFIX).so.$(MAJOR_VERSION)
22
+ endif
23
+ @@ -191,7 +191,7 @@ else
24
+ $(OBJCOPY) --redefine-syms objcopy.def ../$(LIBNAME) ../$(LIBNAME).renamed
25
+ ../$(LIBSONAME) : ../$(LIBNAME).renamed linktest.c
26
+ endif
27
+ -
28
+ + echo INTERNALNAME $(INTERNALNAME)
29
+ ifeq ($(F_COMPILER), INTEL)
30
+ $(FC) $(FFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
31
+ -Wl,--whole-archive $< -Wl,--no-whole-archive \
32
+ - -
33
+ 2.39.3 (Apple Git-146)
34
+
You can’t perform that action at this time.
0 commit comments