We were using the 'legacyrenderer' target all this while. Specify the
'all' target instead.
Signed-off-by: Alan M Varghese (NyxTrail) <alan@digistorm.in>
dh_makeshlibs invokes ldconfig trigger for libwlroots.so.* which
is installed under /usr/lib/hyprland. We depend on RPATH on the
hyprland binary, so this is not required.
Reference: https://wiki.debian.org/RpathIssue
The private directory is /usr/lib/hyprland.
This fixes the error:
E: hyprland: shared-library-is-multi-arch-foreign usr/lib/libwlroots.so.13032
N:
N: The package is marked as Multi-Arch: foreign, but it includes a shared
N: library in a public library directory.
But we now we also need to let the loader find it. We will use the RPATH
configured on the binary to achieve this. That is, the RPATH has been
modified to point to /usr/lib/hyprland.