Skip to content

Commit e00c218

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 7ab8d1b commit e00c218

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

33
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,now
4+
export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
45

56
%:
67
dh $@

0 commit comments

Comments
 (0)