$ make
g++ -pthread -std=c++11 -Wall -Wextra -pipe obj/bitboard.o obj/eval.o obj/magic_moves.o obj/main.o obj/move.o obj/move_gen.o obj/perft.o obj/position.o obj/search.o obj/tt.o obj/uci.o -o bin/monochrome -pthread -Wl,--no-as-needed
ld: warning: directory not found for option '-L/Users/user/.local/lib'
ld: unknown option: --no-as-needed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1
Removing -Wl,--no-as-needed in makefile fixes the issue