mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
build: pass -fPIC
to linker as well for shared builds
PR-URL: https://github.com/nodejs/node/pull/58070 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
parent
20feebb452
commit
de8e7bd772
1 changed files with 1 additions and 0 deletions
|
@ -568,6 +568,7 @@
|
|||
}],
|
||||
[ 'node_shared=="true"', {
|
||||
'cflags': [ '-fPIC' ],
|
||||
'ldflags': [ '-fPIC' ],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue