]> Sergey Matveev's repositories - tofuproxy.git/blob - cmd/zstd/default.do
No need to hardcode UnZSTDPath during compilation
[tofuproxy.git] / cmd / zstd / default.do
1 src=$1.c
2 redo-ifchange $src conf/zstd.cflags.rc conf/zstd.libs.rc
3 read ZSTD_CFLAGS < conf/zstd.cflags.rc
4 read ZSTD_LIBS < conf/zstd.libs.rc
5 ${CC:-cc} -fstrict-aliasing $CFLAGS $ZSTD_CFLAGS -static -o $3 $src $ZSTD_LIBS -lpthread