Skip to content

Modify library order for openssl linking. - #7826

Closed
michael-afanasiev wants to merge 1 commit into
curl:masterfrom
michael-afanasiev:master
Closed

michael-afanasiev wants to merge 1 commit into
curl:masterfrom
michael-afanasiev:master

Conversation

@michael-afanasiev

Copy link
Copy Markdown

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

bagder commented Oct 8, 2021

Copy link
Copy Markdown
Member

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