From 568700f845f4eab5af5f2316ed3ca0b7428cf5b6 Mon Sep 17 00:00:00 2001 From: edoapra Date: Wed, 21 Aug 2024 16:01:49 -0700 Subject: [PATCH] fix crypt.h libxcrypt on conda-forge --- src/python/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/GNUmakefile b/src/python/GNUmakefile index 3a88e49052..2abe3b58ca 100644 --- a/src/python/GNUmakefile +++ b/src/python/GNUmakefile @@ -20,6 +20,9 @@ ifndef PYTHONVERSION endif LIB_INCLUDES = $(shell python$(PYTHONVERSION)-config --includes| sed -e "s/\-iwithsysroot/\-I/g") +ifdef CONDA_BUILD_SYSROOT +LIB_INCLUDES += -I${PREFIX}/include +endif