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:
@@ -37,6 +37,14 @@ jobs:
|
|||||||
cmake --version
|
cmake --version
|
||||||
qmake --version || echo "QMake found via brew"
|
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
|
- name: Build macOS
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
|
|||||||
Reference in New Issue
Block a user