From 1f9e9c6579b3865074511da4154aa366c92ceb4d Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Sat, 23 Dec 2023 07:09:02 +0100 Subject: [PATCH] Build against libxcrypt on Linux refs: - https://github.com/conda-forge/linux-sysroot-feedstock/issues/52 Signed-off-by: Marcel Bargull --- recipe/meta.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 737112a8..dcc5fe35 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 0 %} +{% set build_number = 1 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} @@ -176,6 +176,7 @@ outputs: - ld_impl_{{ target_platform }} >=2.36.1 # [linux] - libnsl # [linux] - libuuid # [linux] + - libxcrypt # [linux] - expat run: - ld_impl_{{ target_platform }} >=2.36.1 # [linux] @@ -258,6 +259,8 @@ outputs: - python -c "from ctypes import CFUNCTYPE; CFUNCTYPE(None)(id)" # Test for wide character supported via ncursesw - TERM=xterm >/dev/null python -c "import curses; scr = curses.initscr(); curses.unget_wch('x'); assert 'x' == scr.get_wch()" # [unix] + # crypt module will be removed in 3.13 => this failing is a reminder to remove the libxcrypt dependency + - python -c "import crypt" # [unix] - name: libpython-static script: build_static.sh # [unix]