mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Fix more build configuration errors
This commit is contained in:
parent
a75175fe94
commit
9ae230afad
13 changed files with 24 additions and 17 deletions
2
third_party/zstd/lib/decompress/zstd_ddict.c
vendored
2
third_party/zstd/lib/decompress/zstd_ddict.c
vendored
|
@ -26,7 +26,7 @@
|
|||
#include "third_party/zstd/lib/decompress/zstd_ddict.h"
|
||||
|
||||
#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
|
||||
#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
//#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
#include "third_party/zstd/lib/common/bits.h" /* ZSTD_highbit32 */
|
||||
|
||||
#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
|
||||
#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
//#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
9
third_party/zstd/zstd.mk
vendored
9
third_party/zstd/zstd.mk
vendored
|
@ -12,6 +12,9 @@ THIRD_PARTY_ZSTD_A_INCS = $(filter %.inc,$(THIRD_PARTY_ZSTD_A_FILES))
|
|||
THIRD_PARTY_ZSTD_A_OBJS = $(THIRD_PARTY_ZSTD_A_SRCS:%.c=o/$(MODE)/%.o)
|
||||
|
||||
THIRD_PARTY_ZSTD_A_FILES := \
|
||||
third_party/zstd/zstd.h \
|
||||
third_party/zstd/zdict.h \
|
||||
third_party/zstd/zstd_errors.h \
|
||||
third_party/zstd/lib/common/allocations.h \
|
||||
third_party/zstd/lib/common/bits.h \
|
||||
third_party/zstd/lib/common/bitstream.h \
|
||||
|
@ -166,9 +169,11 @@ o/$(MODE)/third_party/zstd/lib/compress/zstd_lazy.o: \
|
|||
THIRD_PARTY_ZSTD_BINS = $(THIRD_PARTY_ZSTD_COMS) $(THIRD_PARTY_ZSTD_COMS:%=%.dbg)
|
||||
THIRD_PARTY_ZSTD_COMS = o/$(MODE)/third_party/zstd/zstd.com
|
||||
THIRD_PARTY_ZSTD_LIBS = $(THIRD_PARTY_ZSTD_A)
|
||||
|
||||
THIRD_PARTY_ZSTD_CHECKS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_CHECKS))
|
||||
THIRD_PARTY_ZSTD_SRCS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_SRCS))
|
||||
THIRD_PARTY_ZSTD_INCS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_INCS))
|
||||
THIRD_PARTY_ZSTD_HDRS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_HDRS))
|
||||
THIRD_PARTY_ZSTD_OBJS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_OBJS))
|
||||
THIRD_PARTY_ZSTD_CHECKS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_CHECKS))
|
||||
$(THIRD_PARTY_ZSTD_OBJS): $(BUILD_FILES) third_party/zstd/zstd.mk
|
||||
|
||||
.PHONY: o/$(MODE)/third_party/zstd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue