[Pkg-javascript-devel] nota bene: node addons binding.gyp ldflags -> libraries
Jérémy Lal
kapouer at melix.org
Tue Oct 29 22:36:11 GMT 2019
Hi,
I noticed (twice) recently that when building node addons - and even node
itself,
some "-lxxx" flags where no longer in the right options group during
linking.
This had to change:
["OS==\"linux\"", {
+ "ldflags": [
+ "-lre2"
+ ],
"cflags": [
"-pthread"
],
to become:
["OS==\"linux\"", {
+ "libraries": [
+ "-lre2"
+ ],
"cflags": [
"-pthread"
],
This is mysterious to me, maybe to others too.
Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191029/8880bfef/attachment.html>
More information about the Pkg-javascript-devel
mailing list