Move libwlroots binary to private directory

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.
This commit is contained in:
alan 2024-01-28 16:20:01 +05:30
parent 304829a999
commit d0ad436847
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
# You must remove unused comment lines for the released package.
000-destdir.patch
001-move-libwlroots-to-hyprland-location.patch

2
debian/rules vendored
View File

@ -9,7 +9,7 @@
dh $@
override_dh_auto_install:
chrpath -d build/Hyprland
chrpath -r /usr/lib/hyprland build/Hyprland
dh_auto_install -- PREFIX=/usr
override_dh_clean:
dh_clean