diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 89f9580..abea12b 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -64,10 +64,20 @@ jobs: if [[ ! -d "/usr/lib64" ]]; then ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so fi + + OPENSSL_LIB_DIR=/usr/lib64 else # If we're running on debian-based system. apt update -y && apt-get install -y libssl-dev openssl pkg-config + + OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu fi + + echo "OpenSSL Lib Dir: $OPENSSL_LIB_DIR" + echo "OpenSSL Include Dir: $OPENSSL_INCLUDE_DIR" + + export OPENSSL_INCLUDE_DIR=/usr/include/openssl + pkg-config --libs --cflags openssl # END EDITED SECTION # - name: Upload wheels uses: actions/upload-artifact@v4