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

Respect PKG_CONFIG_PATH from the environment #251

Merged
merged 1 commit into from
Nov 2, 2021
Merged

Conversation

squaremo
Copy link
Member

@squaremo squaremo commented Nov 1, 2021

If brew (or some other installation method) has put openssl.pc in a non-traditional place, you need to add that place to PKG_CONFIG_PATH; but, the Makefile effectively resets it when calling anything that uses it.

So:

  • include any existing $PKG_CONFIG_PATH in invocations
  • document when and how to set PKG_CONFIG_PATH

Note: this doesn't appear to be necessary for source-controller. Hidde and I think this may be because git2go is a direct dependency there, whereas it's required via source-controller/pkg here -- why that matters is not clear :-/

If brew (or some other installation method) has put openssl in a
non-traditional place, you need to add that place to
`PKG_CONFIG_PATH`; but, the Makefile effectively resets it when
calling anything that uses it.

So:
 - include any existing $PKG_CONFIG_PATH in invocations
 - document when and how to set PKG_CONFIG_PATH

Signed-off-by: Michael Bridgen <[email protected]>
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just hope the duct tape holds longer than it takes for git2go to have bug free Go transport

WOMM (Works on Michael's Machine) ✅

Copy link
Contributor

@darkowlzz darkowlzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@squaremo squaremo merged commit cb53e35 into main Nov 2, 2021
@hiddeco hiddeco deleted the pkg-config-openssl branch November 2, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants