From 2dc71ebd6e4c974fca899bb1fe3cbf13a86b602f Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 6 Sep 2024 10:32:17 +0200 Subject: [PATCH] Revert "use versioned libraries from now on for all architectures" This reverts commit ecb02803c8c057b6be1b4060dd99ea34e7c6d703. It turned out that we run into unnecessary dynalic link problems when minor (but compatible) changes cause *_MAINENANCE_VERSION to be incremented even though the library is compatible. Maybe use -soname MAJOR.MINOR or -soname MAJOR instead later? --- configure/os/CONFIG_SITE.Common.linuxCommon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure/os/CONFIG_SITE.Common.linuxCommon b/configure/os/CONFIG_SITE.Common.linuxCommon index 80818f04e..20c5a5420 100644 --- a/configure/os/CONFIG_SITE.Common.linuxCommon +++ b/configure/os/CONFIG_SITE.Common.linuxCommon @@ -21,3 +21,9 @@ TARGET_LDFLAGS += $(SYSROOT:%=--sysroot=%) ifeq ($(filter SL% RHEL%,$(T_A)),) VALID_BUILDS = Ioc Command endif + +# backward compatibility: Keep unversioned libs for older linux versions +ifneq ($(filter SL% RHEL7% RHEL8%,$(T_A)),) +SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE) +LOADABLE_SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE) +endif