Error running make under macOS
yujunz opened this issue · comments
Yujun Zhang commented
$ make
go build -ldflags="-L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/sqlite3/lib" -o juicesync
# github.com/juicedata/juicesync
flag provided but not defined: -L/usr/local/opt/openssl/lib
usage: link [options] main.o
...
make: *** [juicesync] Error 2
Yujun Zhang commented
It seems local environment variable $LDFLAGS
will take precedence.