From d69951658340791e13a0a2fae89ddae6f1d43560 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 30 Oct 2024 11:18:25 -0500 Subject: [PATCH] Fix installing libxml2 and icu on windows --- recipe/conda_build_config.yaml | 3 +++ recipe/meta.yaml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 8f2ac22..d98f55e 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -3,6 +3,9 @@ c_compiler: # [osx] cxx_compiler: # [osx] - clang_bootstrap # [osx] +# currently windows build does not work with icu. +# if support is added, add a conflict with icu for the non-icu +# build by updating run_constrained with_icu: - yes # [not win] - no diff --git a/recipe/meta.yaml b/recipe/meta.yaml index f4b315e..6d31ac1 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -11,7 +11,7 @@ source: - 0002-Make-and-install-a-pkg-config-file-on-Windows.patch build: - number: 0 + number: 1 run_exports: # remove symbols at minor versions according to # https://abi-laboratory.pro/tracker/timeline/libxml2/ @@ -37,7 +37,7 @@ requirements: - xz # [not win] - zlib run_constrained: - - icu <0.0a0 # [with_icu != "yes"] + - icu <0.0a0 # [with_icu != "yes" and not win] test: requires: