From 98c7c316351a2681388e620745640b4c70fc4e6b Mon Sep 17 00:00:00 2001 From: Don Williams Date: Wed, 8 Oct 2025 15:47:40 -0400 Subject: [PATCH] Fixing HL install script On branch hl-051 Your branch is up to date with 'origin/hl-051'. Changes to be committed: modified: install-scripts/hyprland.sh --- install-scripts/hyprland.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-scripts/hyprland.sh b/install-scripts/hyprland.sh index 6264a96..777a146 100755 --- a/install-scripts/hyprland.sh +++ b/install-scripts/hyprland.sh @@ -84,6 +84,9 @@ if git clone --recursive -b $tag "https://github.com/hyprwm/Hyprland"; then echo "${NOTE} Hyprland compile patch does not apply on $tag; skipping." fi fi + # Prefer /usr/local when resolving pkg-config and CMake prefixes + export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:${PKG_CONFIG_PATH:-}" + export CMAKE_PREFIX_PATH="/usr/local:${CMAKE_PREFIX_PATH:-}" CXX=clang++ CXXFLAGS=-std=gnu++26 make all if [ $DO_INSTALL -eq 1 ]; then if sudo make install 2>&1 | tee -a "$MLOG"; then