don't use "echo -e"
This commit is contained in:
parent
80c1e04c33
commit
13127fd05b
@ -67,7 +67,7 @@ endif
|
|||||||
|
|
||||||
# zlib detection
|
# zlib detection
|
||||||
VOID = /dev/null
|
VOID = /dev/null
|
||||||
HAVE_ZLIB := $(shell echo -e "\#include <zlib.h>\nint main(){}" | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0)
|
HAVE_ZLIB := $(shell echo $$'\#include <zlib.h>\nint main(){}' | $(CC) -o have_zlib -x c - -lz 2> $(VOID) && echo 1 || echo 0)
|
||||||
ifeq ($(HAVE_ZLIB), 1)
|
ifeq ($(HAVE_ZLIB), 1)
|
||||||
TEMP := $(shell rm have_zlib$(EXT))
|
TEMP := $(shell rm have_zlib$(EXT))
|
||||||
ZLIBCPP = -DZSTD_GZDECOMPRESS
|
ZLIBCPP = -DZSTD_GZDECOMPRESS
|
||||||
|
Loading…
Reference in New Issue
Block a user