braineo/airport-bssid

M1 Mac - need to adjust Makefile

jam07912 opened this issue · 1 comments

Hi,

On my M1 Mac I had to adjust the Makefile as follows:

".PHONY: install
install:
ln -fs $(PWD)/.build/arm64-apple-macosx/debug/bssid /usr/local/bin/"

When you swift build on M1 architecture, it seems that the build folder name defaults to the one above, instead of the one in the original Makefile.

Maybe add that to the readme or so.

Cheers!

added in 6cae7a7