You can either change `libtool.m4' and/or whereever the package you are
talking about stores its m4 macros then rebuild the package or you can
change generated `libtool' -- look for all instances of
link_all_deplibs=yes
and set them to `unknown' or `no' (one at the beginning and several ones
at the end, one for each language -- search for
### BEGIN LIBTOOL TAG CONFIG: CXX
).
You could also tell us what specific problem you have encountered, so we
can warn against it or help you (the Debian maintainer usually reads
this list as well :) or maybe just fix the package you are trying to
build.
Regards,
Ralf