Skip to content

Commit

Permalink
Gettext linkage error
Browse files Browse the repository at this point in the history
  • Loading branch information
smolBlackCat committed Jul 11, 2024
1 parent 857c1d6 commit b9e9846
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ jobs:

- name: Fetch CMake
uses: lukka/[email protected]

- name: Gettext Linkage Fix
run: |
brew unlink gettext && brew link gettext --force

- name: Fetch dependencies
run: |
Expand All @@ -156,6 +152,10 @@ jobs:
brew install libsodium
brew install spdlog
brew install libhandy
- name: Gettext Linkage Fix
run: |
brew unlink gettext && brew link gettext --force
- name: Build
uses: lukka/run-cmake@v3
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ target_link_libraries(abaddon ${NLOHMANN_JSON_LIBRARIES})
target_link_libraries(abaddon ${CMAKE_DL_LIBS})

# Sincerely, there ought be a better solution
if (MINGW)
if (MINGW OR APPLE)
target_link_libraries(abaddon intl)
else()
target_link_libraries(abaddon ${INTL_LIBRARIES})
Expand Down

0 comments on commit b9e9846

Please sign in to comment.