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 76394669a0
commit 1ff689eb4b
No known key found for this signature in database
GPG Key ID: 32C5D29762C48D4A
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
rules
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