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')