Le mar. 9 avr. 2024 à 21:30, Miao Wang <shankerwangmiao@gmail.com> a écrit :
Reassigned to nginx, because currently dh-nginx does this unconditionally:
$this->{has_stream} = $this->has_build_dep("libnginx-mod-stream");
../..
if ($this->{has_stream} == 1) {
addsubstvar($cur, "misc:Depends", "libnginx-mod-stream (>= $ngx_ver),
libnginx-mod-stream (<< $ngx_ver.1~)");
}
../..
It should offer a better way.
Maybe shlibdeps picks that dependency ? so dh-nginx could add the
constraint on mod-stream versions only when the built binary is actually
linked to it ?