summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-01-20 16:28:08 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-17 19:20:59 +0200
commit8bbfcc4c818561ccc30dd2e7ad81894e343c529f (patch)
tree66c4838873d5230badbee954b970e80a3b94bd53
parent2af23767e11b3eac41fd3164d241e820374eb969 (diff)
downloaduxp-8bbfcc4c818561ccc30dd2e7ad81894e343c529f.tar.gz
Issue #1859 - Part 2: xz-embedded build config changes
Always build as static lib for use in updater.
-rw-r--r--modules/xz-embedded/moz.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/xz-embedded/moz.build b/modules/xz-embedded/moz.build
index fa1e5fc468..9806dca1ea 100644
--- a/modules/xz-embedded/moz.build
+++ b/modules/xz-embedded/moz.build
@@ -29,4 +29,7 @@ elif '86' in CONFIG['TARGET_CPU']:
DEFINES['XZ_USE_CRC64'] = 1
+if CONFIG['OS_ARCH'] == 'WINNT':
+ USE_STATIC_LIBS = True
+
Library('xz-embedded')