diff --git a/src/blosc2/internal-complibs/zstd-1.5.2/Makefile b/src/blosc2/internal-complibs/zstd-1.5.2/Makefile index ef20218..5351426 100644 --- a/src/blosc2/internal-complibs/zstd-1.5.2/Makefile +++ b/src/blosc2/internal-complibs/zstd-1.5.2/Makefile @@ -13,6 +13,7 @@ ZSTD_LIB_COMPRESSION ?= 1 ZSTD_LIB_DECOMPRESSION ?= 1 ZSTD_LIB_DICTBUILDER ?= 1 ZSTD_LIB_DEPRECATED ?= 0 +ZSTD_LEGACY_SUPPORT ?= 0 # Input variables for libzstd.mk ifeq ($(ZSTD_LIB_COMPRESSION), 0) @@ -92,6 +93,7 @@ all: lib .PHONY: libzstd.a # must be run every time libzstd.a: CPPFLAGS += $(CPPFLAGS_STATLIB) +libzstd.a: CFLAGS += -fPIC SET_CACHE_DIRECTORY = \ +$(MAKE) --no-print-directory $@ \