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)"'