forked from ariadne/libucontext
set SOVERSION to 1 where appropriate
parent
98d7493b2a
commit
63b15f130a
2
Makefile
2
Makefile
|
@ -33,7 +33,7 @@ LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S)
|
||||||
|
|
||||||
LIBUCONTEXT_VERSION := $(shell head -n 1 VERSION)
|
LIBUCONTEXT_VERSION := $(shell head -n 1 VERSION)
|
||||||
LIBUCONTEXT_OBJ = ${LIBUCONTEXT_C_SRC:.c=.o} ${LIBUCONTEXT_S_SRC:.S=.o}
|
LIBUCONTEXT_OBJ = ${LIBUCONTEXT_C_SRC:.c=.o} ${LIBUCONTEXT_S_SRC:.S=.o}
|
||||||
LIBUCONTEXT_SOVERSION = 0
|
LIBUCONTEXT_SOVERSION = 1
|
||||||
LIBUCONTEXT_NAME = libucontext.so
|
LIBUCONTEXT_NAME = libucontext.so
|
||||||
LIBUCONTEXT_STATIC_NAME = libucontext.a
|
LIBUCONTEXT_STATIC_NAME = libucontext.a
|
||||||
LIBUCONTEXT_PC = libucontext.pc
|
LIBUCONTEXT_PC = libucontext.pc
|
||||||
|
|
|
@ -88,7 +88,7 @@ headers = include_directories(project_includes)
|
||||||
libucontext_target = library(
|
libucontext_target = library(
|
||||||
'ucontext',
|
'ucontext',
|
||||||
project_source_files,
|
project_source_files,
|
||||||
version: meson.project_version(),
|
version: '1',
|
||||||
install : not meson.is_subproject(),
|
install : not meson.is_subproject(),
|
||||||
c_args : build_args,
|
c_args : build_args,
|
||||||
pic: true,
|
pic: true,
|
||||||
|
@ -103,7 +103,7 @@ if build_posix
|
||||||
libucontext_posix_target = library(
|
libucontext_posix_target = library(
|
||||||
'ucontext_posix',
|
'ucontext_posix',
|
||||||
project_source_files + ['libucontext_posix.c'],
|
project_source_files + ['libucontext_posix.c'],
|
||||||
version: meson.project_version(),
|
version: '1',
|
||||||
install : not meson.is_subproject(),
|
install : not meson.is_subproject(),
|
||||||
c_args : build_args,
|
c_args : build_args,
|
||||||
pic: true,
|
pic: true,
|
||||||
|
|
Loading…
Reference in New Issue