fix: compiler cannot find libtag in M1 Mac #2

This commit is contained in:
TaurusXin 2023-10-04 17:02:06 +08:00
parent 8b7be1aadf
commit a8ba3db401
1 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,13 @@ linux:
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
strip ncmdump
macos:
macos-intel:
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
strip ncmdump
macos-arm64:export CPATH=/opt/homebrew/include
macos-arm64:export LIBRARY_PATH=/opt/homebrew/lib
macos-arm64:
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
strip ncmdump