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: prioritise --shared-X-Y over pkg-config #9368

Closed
wants to merge 1 commit into from

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Oct 30, 2016

Noticed this on OSX which is a bit more liberal with pkg-config output, you can't properly build against shared libraries when using non-standard locations for library files and headers. Switching the order of checks so --shared-X-libname, --shared-X-includes and --shared-X-libpath, if explicitly passed to ./configue, take precedence over whatever pkg-config gives you.

/R=@nodejs/build

@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Oct 30, 2016
@rvagg
Copy link
Member Author

rvagg commented Oct 30, 2016

Copy link
Member

@jbergstroem jbergstroem left a comment

Choose a reason for hiding this comment

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

sgtm and LGTM

@rvagg rvagg closed this Oct 31, 2016
@rvagg rvagg deleted the pkgconfig-secondary-priority branch October 31, 2016 11:48
@rvagg
Copy link
Member Author

rvagg commented Oct 31, 2016

thanks, 0e92bb9

rvagg added a commit that referenced this pull request Oct 31, 2016
PR-URL: #9368
Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
evanlucas pushed a commit that referenced this pull request Nov 3, 2016
PR-URL: #9368
Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@MylesBorins
Copy link
Contributor

@rvagg should we backport this?

@rvagg
Copy link
Member Author

rvagg commented Nov 22, 2016

@thealphanerd yeah, for correctness' sake, and it's low risk

MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9368
Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9368
Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9368
Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9368
Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9368
Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This was referenced Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants