Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue 9155][build]Fixing the mac build if you use a different openssl #9165

Merged
merged 1 commit into from Jan 20, 2021

Conversation

phijohns-tibco
Copy link
Contributor

Fixes #9155

Motivation

When I attempted to build the c library on macosx with openssl 1.1.1i it failed with linkage errors. I tracked those errors down to the fact that the OPENSLL_ROOT_DIR was incorrect outside of mac vms used by the upstream.

Modifications

I set the default value first and then reset it only if running on mac.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

No

Documentation

-None

@codelipenghui
Copy link
Contributor

@BewareMyPower Please help review this PR

@sijie
Copy link
Member

sijie commented Jan 12, 2021

/pulsarbot run-failure-checks

@sijie sijie merged commit fd7a5bf into apache:master Jan 20, 2021
codelipenghui pushed a commit that referenced this pull request Jan 21, 2021
Fixes #9155

### Motivation
When I attempted to build the c library on macosx with openssl 1.1.1i it failed with linkage errors. I tracked those errors down to the fact that the OPENSLL_ROOT_DIR was incorrect outside of mac vms used by the upstream.

### Modifications

I set the default value first and then reset it only if running on mac.

### Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

(cherry picked from commit fd7a5bf)
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C Client CMakeLists.txt incorrectly sets the OPENSSL_ROOT_DIR
4 participants