From aab5cd2019dc321e20a73659fbc109f281d886d6 Mon Sep 17 00:00:00 2001 From: marscher Date: Tue, 12 Feb 2019 19:35:04 +0100 Subject: [PATCH] fix build on py35, ld broken --- devtools/conda-recipe/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devtools/conda-recipe/meta.yaml b/devtools/conda-recipe/meta.yaml index 0cd48fa2d..d7126ad9b 100644 --- a/devtools/conda-recipe/meta.yaml +++ b/devtools/conda-recipe/meta.yaml @@ -10,12 +10,13 @@ source: #git_url: ../../ build: - preserve_egg_dir: True script_env: - CIRCLE_TEST_REPORTS - OMP_NUM_THREADS - PYEMMA_NJOBS script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" +# workaround for bpo-24935, the compiler jinja2 template sets CC, but LDSHARED is not being set accordingly by distutils.sysconfig. + script: LDSHARED="$CC -shared" python setup.py install --single-version-externally-managed --record record.txt # [linux and py35] requirements: build: