Build failure with USE_BLAS=blas in Arch linux


Hi. I’m using Arch linux. With USE_BLAS=blas (and opencv enabled / cuda disabled), the build fails with the following errors

/usr/bin/ld: build/src/operator/tensor/la_op.o: undefined reference to symbol 'cblas_ssyrk'
/usr/lib/ error adding symbols: DSO missing from command line

The library file dose not have the symbol cblas_ssyrk but have it. So adding -lcblas as a LDFLAGS solves the problem. I’m not sure whether this is a Arch linux specific problem. Please consider to the -lcblas flag.