From 6d9c3bb9b4ce59c014d536b9071678c7d87f55ff Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Wed, 5 Jul 2023 13:53:21 +0100 Subject: [PATCH] [*] Update build script to support static builds --- src/liblzma/Aurora.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/liblzma/Aurora.json b/src/liblzma/Aurora.json index f8ce00e..4426c04 100644 --- a/src/liblzma/Aurora.json +++ b/src/liblzma/Aurora.json @@ -7,12 +7,13 @@ "simple/simple_encoder.c", "simple/simple_encoder.h", "simple/simple_decoder.c", "simple/simple_decoder.h", "lz/**.*", + "lzma/**.*", "delta/**.*", "common/**.*", "check/**.*", "../common/*.*"], "implInclude": ["./", "rangecoder", "lzma", "common", "delta", "check", "simple", "lz"], - "defines": ["HAVE_STRINGS_H", "HAVE_STDLIB_H", "HAVE_CHECK_CRC32", "HAVE_CHECK_CRC64", "HAVE_CHECK_SHA256", "HAVE__BOOL", "HAVE_STDBOOL_H", "HAVE_STDINT_H", "HAVE_ENCODER_LZMA1", "HAVE_ENCODER_LZMA2", "HAVE_DECODER_LZMA1", "HAVE_DECODER_LZMA2", "HAVE_DECODER_DELTA", "HAVE_ENCODER_DELTA"], + "defines": ["HAVE_STRINGS_H", "HAVE_STDLIB_H", "HAVE_CHECK_CRC32", "HAVE_CHECK_CRC64", "HAVE_CHECK_SHA256", "HAVE__BOOL", "HAVE_STDBOOL_H", "HAVE_STDINT_H", "HAVE_ENCODER_LZMA1", "HAVE_ENCODER_LZMA2", "HAVE_DECODER_LZMA1", "HAVE_DECODER_LZMA2", "HAVE_DECODER_DELTA", "HAVE_ENCODER_DELTA", "HAVE_MF_HC3", "HAVE_MF_HC4", "HAVE_MF_BT2", "HAVE_MF_BT3", "HAVE_MF_BT4"], "excludes": ["check/crc32_small.*", "check/crc32_x86.S", "check/crc64_x86.S", "check/crc64_small.*", "../common/common_w32res.rc"], "actions": [ { @@ -32,5 +33,6 @@ "defines": ["MYTHREAD_VISTA"] } } - ] + ], + "staticImpDefines": "LZMA_API_STATIC" } \ No newline at end of file