node icon indicating copy to clipboard operation
node copied to clipboard

build: build opt to set local location of headers

Open mhdawson opened this issue 2 years ago • 4 comments

Some linux distroes install headers through their package managers. When headers are locally installed we'd like them to be used.

Add a build time configuration option --use-prefix-to-find-headers that will will suggest to node-gyp to look for headers based on the prefix

A PR to node-gyp will use this value when building addons to automatially find and use the headers if they have been installed locally

mhdawson avatar Jan 19 '24 14:01 mhdawson

PR to node-gyp that leverages this - https://github.com/nodejs/node-gyp/pull/2964

mhdawson avatar Jan 19 '24 14:01 mhdawson

PR to node-gyp landed so this should be good to go as well - https://github.com/nodejs/node-gyp/pull/2964

mhdawson avatar Jan 29 '24 22:01 mhdawson

CI: https://ci.nodejs.org/job/node-test-pull-request/56998/

nodejs-github-bot avatar Jan 31 '24 22:01 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/57023/

nodejs-github-bot avatar Feb 02 '24 15:02 nodejs-github-bot

Landed in 9936d4586dcf

mhdawson avatar Feb 15 '24 21:02 mhdawson