Skip to content

Commit

Permalink
packaging: Forbid compilation if the symbols file is outdated
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
clefebvre committed Jan 25, 2024
1 parent 7ab8d1b commit e00c218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,now
export DPKG_GENSYMBOLS_CHECK_LEVEL = 2

%:
dh $@
Expand Down

0 comments on commit e00c218

Please sign in to comment.