set SOVERSION to 1 where appropriate

arm_linker_fix
Ariadne Conill 2021-01-09 00:55:58 -07:00
parent 98d7493b2a
commit 63b15f130a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,