forked from such-gitea/wownero-lws
hot patch macos to remove rt lib
Some checks failed
Build Wowlet / build-macos (push) Failing after 1m29s
Some checks failed
Build Wowlet / build-macos (push) Failing after 1m29s
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user