Skip to content

Commit 3ca1085

Browse files
committed
packaging: Forbid compilation if the symbols file is outdated
An outdated symbols file results in automatic versioned dependencies in projects which use this library. When these projects are built, shlibs:Depends cannot find a version number for the set of symbols so it uses the full version of the library package, including suffixes such as +virginia. We end up with depends lib (>== 6.0.0+virginia) instead of lib (>== 6.0.0).
1 parent 4b29b2b commit 3ca1085

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

debian/rules

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ built_binaries := $(shell dh_listpackages)
44

55
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
66
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
7+
export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
78

89
include /usr/share/dpkg/default.mk
910

0 commit comments

Comments
 (0)