mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 00:05:58 +01:00
makefile: fix build failure with some PREFIX (#3099)
Most systems does not have xdg-desktop-portal directory other than /usr/share.
This commit is contained in:
parent
4a41d013a2
commit
aed1f66bec
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -53,6 +53,7 @@ install:
|
|||
mkdir -p ${PREFIX}/include/hyprland/protocols
|
||||
mkdir -p ${PREFIX}/include/hyprland/wlroots
|
||||
mkdir -p ${PREFIX}/share/pkgconfig
|
||||
mkdir -p ${PREFIX}/share/xdg-desktop-portal
|
||||
|
||||
find src -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland
|
||||
cd subprojects/wlroots/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots && cd ../../..
|
||||
|
|
Loading…
Reference in a new issue