From 2198352f5e5808fc81574f00eb6318023f246bf4 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Wed, 29 May 2024 12:24:58 +0200 Subject: [PATCH] Hack around openssl11 location --- recipes/cryptogrpahy/env.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/cryptogrpahy/env.sh b/recipes/cryptogrpahy/env.sh index f7a09dc..258a2d9 100644 --- a/recipes/cryptogrpahy/env.sh +++ b/recipes/cryptogrpahy/env.sh @@ -1,4 +1,3 @@ export CIBW_SKIP='*-musllinux_* *-macosx_*' -export CIBW_BEFORE_ALL_LINUX='yum install -y openssl11 openssl11-devel && curl https://sh.rustup.rs -sSf | sh -s -- -y' +export CIBW_BEFORE_ALL_LINUX='yum install -y openssl11 openssl11-devel && cp /usr/lib64/pkgconfig/openssl11.pc /usr/lib64/pkgconfig/openssl.pc && curl https://sh.rustup.rs -sSf | sh -s -- -y' export CIBW_ENVIRONMENT_LINUX='PATH=$PATH:$HOME/.cargo/bin' -export CIBW_BEFORE_BUILD_LINUX='export CFLAGS="$CFLAGS $(pkg-config --cflags openssl11)" && export LDFLAGS="$LDFLAGS $(pkg-config --libs openssl11)"'