Skip to content

Commit 83f4f77

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 d0f8c74 commit 83f4f77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

debian/rules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
44
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5+
export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
56

67
%:
78
dh $@ --with=gir

0 commit comments

Comments
 (0)