mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge Hardcode and check the expected libapparmor.so name/number
... to prevent wrong/unexpected numbering (like https://gitlab.com/apparmor/apparmor/-/issues/266) in future releases. I propose this patch for master and 3.1. Backporting to 3.0 and 2.x might also make sense, but of course needs a different .so number. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/915 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
bed1471144
1 changed files with 7 additions and 0 deletions
|
@ -30,9 +30,12 @@ INCLUDES = $(all_includes)
|
|||
# For more information, see:
|
||||
# http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html
|
||||
#
|
||||
# After changing the AA_LIB_* variables, also update EXPECTED_SO_NAME.
|
||||
|
||||
AA_LIB_CURRENT = 13
|
||||
AA_LIB_REVISION = 0
|
||||
AA_LIB_AGE = 12
|
||||
EXPECTED_SO_NAME = libapparmor.so.1.12.0
|
||||
|
||||
SUFFIXES = .pc.in .pc
|
||||
|
||||
|
@ -81,4 +84,8 @@ tst_kernel_LDFLAGS = -pthread
|
|||
check_PROGRAMS = tst_aalogmisc tst_features tst_kernel
|
||||
TESTS = $(check_PROGRAMS)
|
||||
|
||||
.PHONY: check-local
|
||||
check-local:
|
||||
test -f ./.libs/$(EXPECTED_SO_NAME) || { echo '*** unexpected .so name/number for libapparmor (expected $(EXPECTED_SO_NAME), the actual filename is shown below) ***' ; ls -l ./.libs/libapparmor.so.*.* ; exit 1; }
|
||||
|
||||
EXTRA_DIST = grammar.y scanner.l libapparmor.map libapparmor.pc
|
||||
|
|
Loading…
Add table
Reference in a new issue