hot patch macos to remove rt lib
Some checks failed
Build Wowlet / build-macos (push) Failing after 1m29s

This commit is contained in:
2026-01-05 06:30:41 -08:00
parent 784a8a49d3
commit 2a5f2cf1b1

View File

@@ -36,6 +36,14 @@ jobs:
echo "Checking dependency versions..."
cmake --version
qmake --version || echo "QMake found via brew"
- name: Patch for macOS (Remove librt)
run: |
echo "Patching src/CMakeLists.txt to remove Linux-only 'rt' library..."
# Use sed to find " rt " and replace it with a space.
# The -i '' is required for macOS sed to edit in-place.
sed -i '' 's/ rt / /g' src/CMakeLists.txt
sed -i '' 's/ rt)/ )/g' src/CMakeLists.txt
- name: Build macOS
run: |