From 63b15f130a3520114fcad41dc3d11fe9a9356fc4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 9 Jan 2021 00:55:58 -0700 Subject: [PATCH] set SOVERSION to 1 where appropriate --- Makefile | 2 +- meson.build | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 901bb83..a18003e 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S) LIBUCONTEXT_VERSION := $(shell head -n 1 VERSION) LIBUCONTEXT_OBJ = ${LIBUCONTEXT_C_SRC:.c=.o} ${LIBUCONTEXT_S_SRC:.S=.o} -LIBUCONTEXT_SOVERSION = 0 +LIBUCONTEXT_SOVERSION = 1 LIBUCONTEXT_NAME = libucontext.so LIBUCONTEXT_STATIC_NAME = libucontext.a LIBUCONTEXT_PC = libucontext.pc diff --git a/meson.build b/meson.build index 7d6ba18..948b071 100644 --- a/meson.build +++ b/meson.build @@ -88,7 +88,7 @@ headers = include_directories(project_includes) libucontext_target = library( 'ucontext', project_source_files, - version: meson.project_version(), + version: '1', install : not meson.is_subproject(), c_args : build_args, pic: true, @@ -103,7 +103,7 @@ if build_posix libucontext_posix_target = library( 'ucontext_posix', project_source_files + ['libucontext_posix.c'], - version: meson.project_version(), + version: '1', install : not meson.is_subproject(), c_args : build_args, pic: true,