Skip to content

Conversation

@michael-afanasiev
Copy link

I've been having issues linking fully static openssl, libz, and libcrypto libraries to curl, with undefined libz symbols coming from libcrypto during configure. This small re-ordering of libraries in openssl.m4 fixes the issue. Happy for any feedback on whether or not this is the correct way to patch.

lcrypto may depend on lz, and configure corrently fails with when
statically linking as the order is "-lz -lcrypto". This commit switches
the order to "-lcrypto -lz".
@bagder
Copy link
Member

bagder commented Oct 8, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants