mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07: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
Makefile
1
Makefile
@ -53,6 +53,7 @@ install:
|
|||||||
mkdir -p ${PREFIX}/include/hyprland/protocols
|
mkdir -p ${PREFIX}/include/hyprland/protocols
|
||||||
mkdir -p ${PREFIX}/include/hyprland/wlroots
|
mkdir -p ${PREFIX}/include/hyprland/wlroots
|
||||||
mkdir -p ${PREFIX}/share/pkgconfig
|
mkdir -p ${PREFIX}/share/pkgconfig
|
||||||
|
mkdir -p ${PREFIX}/share/xdg-desktop-portal
|
||||||
|
|
||||||
find src -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland
|
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 ../../..
|
cd subprojects/wlroots/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots && cd ../../..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user