From 47cb52ab58559d3e8909b3b5968d34bb49320f3c Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Fri, 19 Apr 2013 23:16:56 +0200 Subject: Set the soname to what the GNAT tools made of it. --- build_system_log.gpr | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build_system_log.gpr b/build_system_log.gpr index df98c7f..5059e65 100644 --- a/build_system_log.gpr +++ b/build_system_log.gpr @@ -10,11 +10,14 @@ with "comfignat.gpr"; library project Build_System_Log is - Version := "1.2"; + -- An attempt to use a two-part version number at the end of the soname + -- caused Gnatmake and GPRbuild to include only the major version number, + -- so for compatibility the soname is libadasyslog.so.1 until an ABI change + -- is made, if that ever happens. for Library_Name use "adasyslog"; for Library_Kind use "dynamic"; - for Library_Version use "libadasyslog.so." & Version; + for Library_Version use "libadasyslog.so.1"; for Library_Interface use ("System_Log"); for Object_Dir use Comfignat.Objdir; for Library_Src_Dir use Comfignat.Stage_Includedir & "/adasyslog"; -- cgit v1.2.3