Debian: append -Wl,--as-needed to LDFLAGS
Debian: append -Wl,--as-needed to LDFLAGS

This prevents useless dependencies. It isn't required on Ubuntu but on Debian it must be explicitly added to LDFLAGS.
notepadqq/notepadqq-packaging