File: soname_extension_MR8026.patch

package info (click to toggle)
petsc 3.22.5%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 516,740 kB
  • sloc: ansic: 814,333; cpp: 50,948; python: 37,416; f90: 17,187; javascript: 3,493; makefile: 3,198; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (29 lines) | stat: -rw-r--r-- 1,100 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From d3cecfde9c899d20437b86253df692092ece8c1d Mon Sep 17 00:00:00 2001
From: Satish Balay <balay@mcs.anl.gov>
Date: Fri, 22 Nov 2024 10:11:33 -0600
Subject: [PATCH] build: clarify SONAME_SFX_FUNCTION set in gmakefile

---
 gmakefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gmakefile b/gmakefile
index 34ed8dbdc17..af90dcd3d20 100644
--- a/gmakefile
+++ b/gmakefile
@@ -11,9 +11,11 @@ LIBDIR := $(PETSC_ARCH)/lib
 pkgs := sys vec mat dm ksp snes ts tao
 pkgs_reverse := tao ts snes ksp dm mat vec sys
 
+# Note: SONAME_FUNCTION, SONAME_SFX_FUNCTION, SL_LINKER_FUNCTION are set in configure - they override the lines below
 # $(call SONAME_FUNCTION,libfoo,abiversion)
 SONAME_FUNCTION ?= $(1).$(SL_LINKER_SUFFIX).$(2)
-SONAME_SFX_FUNCTION_?= $(1)$(LIB_NAME_SUFFIX).$(SL_LINKER_SUFFIX).$(2)
+# $(call SONAME_SFX_FUNCTION,libfoo,abiversion)
+SONAME_SFX_FUNCTION ?= $(1)$(LIB_NAME_SUFFIX).$(SL_LINKER_SUFFIX).$(2)
 # $(call SL_LINKER_FUNCTION,libfoo,abiversion,libversion)
 SL_LINKER_FUNCTION ?= -shared -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))
 
-- 
GitLab