fix: compiler cannot find libtag in M1 Mac #2
This commit is contained in:
parent
8b7be1aadf
commit
a8ba3db401
8
Makefile
8
Makefile
|
@ -5,7 +5,13 @@ linux:
|
||||||
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
||||||
strip ncmdump
|
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
|
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
||||||
strip ncmdump
|
strip ncmdump
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue