Skip to content

Commit 5f899c3

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 3af7c00 commit 5f899c3

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
@@ -1,5 +1,6 @@
11
#!/usr/bin/make -f
22

3+
export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
34
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
45
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
56

0 commit comments

Comments
 (0)