diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 2e2264af..69d7fb6a 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -12,6 +12,10 @@ source: build: number: 0 script: + # gcc_linux-64 16.2.0 build 3 passes bare tool names in CMAKE_ARGS + # (-DCMAKE_AR=x86_64-conda-linux-gnu-ar), which CMake resolves relative to + # SRC_DIR. Restore the full paths; no-op when they are already absolute. + - 'export CMAKE_ARGS="${CMAKE_ARGS//=${HOST}-/=${BUILD_PREFIX}/bin/${HOST}-}"' - unset CMAKE_GENERATOR && {{ PYTHON }} -m pip install . -vv requirements: