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

build: fix gmp detection on macos when building with no depends #5394

Merged
merged 1 commit into from
May 26, 2023

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented May 26, 2023

Issue being fixed or feature implemented

gmp can't be detected on macos when installed via brew atm

What was done?

detect package prefix and adjust CPPFLAGS and LDFLAGS accordingly

How Has This Been Tested?

./configure

before: configure: error: libgmp headers missing
after: passes

Breaking Changes

n/a

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@UdjinM6 UdjinM6 added this to the 20 milestone May 26, 2023
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

ACK for squash merge

@PastaPastaPasta
Copy link
Member

I guess this could be back ported? adding label for now

@PastaPastaPasta PastaPastaPasta merged commit ae0da14 into dashpay:develop May 26, 2023
@UdjinM6 UdjinM6 deleted the fix_brew_gmp branch May 26, 2023 18:41
@UdjinM6 UdjinM6 modified the milestones: 20, 19.2 May 30, 2023
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jun 11, 2023
…pay#5394)

## Issue being fixed or feature implemented
gmp can't be detected on macos when installed via `brew` atm

## What was done?
detect package prefix and adjust CPPFLAGS and LDFLAGS accordingly


## How Has This Been Tested?
`./configure`

before: `configure: error: libgmp headers missing`
after: passes

## Breaking Changes
n/a

## Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation
- [x] I have assigned this pull request to a milestone _(for repository
code-owners and collaborators only)_
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.

2 participants