Skip to content

Commit

Permalink
fix DI: lzma make without MT(muti-thread), changed def _7ZIP_ST to Z7_ST
Browse files Browse the repository at this point in the history
  • Loading branch information
sisong committed Jul 18, 2023
1 parent 73fff08 commit 15ad7d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ endif

ifeq ($(MT),0)
DEF_FLAGS += \
-D_7ZIP_ST \
-DZ7_ST \
-D_IS_USED_MULTITHREAD=0
else
DEF_FLAGS += \
Expand Down
2 changes: 1 addition & 1 deletion builds/android_ndk_jni_mk/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ else
endif
ifeq ($(LZMA),0)
else
DEF_FLAGS += -D_CompressPlugin_lzma -D_CompressPlugin_lzma2 -D_7ZIP_ST -I$(LZMA_PATH)
DEF_FLAGS += -D_CompressPlugin_lzma -D_CompressPlugin_lzma2 -DZ7_ST -I$(LZMA_PATH)
ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
DEF_FLAGS += -D_LZMA_DEC_OPT
endif
Expand Down

0 comments on commit 15ad7d2

Please sign in to comment.