Skip to content

Commit fb0ceef

Browse files
authored
Update WindowsBuild.md
When building against released libxml2 versions from upstream, we need to explicitly specify the static flag. This should help make the builds reproducible by others.
1 parent 34ae88e commit fb0ceef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/WindowsBuild.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ cmake -B S:\b\3 ^
181181
-D ICU_I18N_LIBRARY_RELEASE=S:\library\icu-67\usr\lib\icuin67.lib ^
182182
-D ICU_ROOT=S:\Library\icu-67\usr ^
183183
-D ICU_UC_LIBRARY_RELEASE=S:\Library\icu-67\usr\lib\icuuc67.lib ^
184+
-D LIBXML2_DEFINITIONS="/DLIBXML_STATIC" ^
184185
-D LIBXML2_LIBRARY=S:\Library\libxml2-development\usr\lib\libxml2s.lib ^
185186
-D LIBXML2_INCLUDE_DIR=S:\Library\libxml2-development\usr\include\libxml2 ^
186187
-D ENABLE_TESTING=NO ^

0 commit comments

Comments
 (0)