| author | |
| committer | |
| log | 2ca5a859e9f5148a09928803cc2d109440a8067c |
| tree | 4f0bc0cc9eb117c1726a8342b8ab093c3526bba2 |
| parent | a4aff36fb3d397459de16426ce51cdbd3c5cb0cc |
Add additional search paths pointing at homebrew prefixes as Apple
doesn't ship a static libncurses for linking - only a stub for dynamic
linking `libncurses.tbd`.3 files changed, 6 insertions(+), 3 deletions(-)
CMakeLists.txt+4-1| ... | ... | @@ -116,7 +116,10 @@ endif() |
| 116 | 116 | |
| 117 | 117 | if(APPLE AND ZIG_STATIC) |
| 118 | 118 | list(REMOVE_ITEM LLVM_LIBRARIES "-lcurses") |
| 119 | find_library(CURSES NAMES libcurses.a curses libcurses libncurses.a ncurses libncurses) | |
| 119 | find_library(CURSES NAMES libcurses.a libncurses.a | |
| 120 | PATHS | |
| 121 | /usr/local/opt/ncurses/lib | |
| 122 | /opt/homebrew/opt/ncurses/lib) | |
| 120 | 123 | list(APPEND LLVM_LIBRARIES "${CURSES}") |
| 121 | 124 | endif() |
| 122 | 125 |
ci/azure/macos_arm64_script+1-1| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | set -x |
| 4 | 4 | set -e |
| 5 | 5 | |
| 6 | brew update && brew install s3cmd | |
| 6 | brew update && brew install ncurses s3cmd | |
| 7 | 7 | |
| 8 | 8 | ZIGDIR="$(pwd)" |
| 9 | 9 |
ci/azure/macos_script+1-1| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | set -x |
| 4 | 4 | set -e |
| 5 | 5 | |
| 6 | brew update && brew install s3cmd | |
| 6 | brew update && brew install ncurses s3cmd | |
| 7 | 7 | |
| 8 | 8 | ZIGDIR="$(pwd)" |
| 9 | 9 | ARCH="x86_64" |