Skip to content

Conversation

@tmm1
Copy link

@tmm1 tmm1 commented Jul 22, 2025

The libraries entry is meant to contain linker args prefixed with -l. See i.e. https://github.com/nodejs/node-gyp/blob/0e656322c1e94041331ab3b01bf66c2ef9bd6ead/addon.gypi#L170-L182

I ran into this experimenting with Makefile backend for gyp in a cross-compiler env.

The `libraries` entry is meant to contain linker args prefixed with `-l`. See i.e. https://github.com/nodejs/node-gyp/blob/0e656322c1e94041331ab3b01bf66c2ef9bd6ead/addon.gypi#L170-L182

I ran into this experimenting with Makefile backend for gyp in a cross-compiler env.
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.

1 participant