Skip to content

Commit b0fb5a0

Browse files
targosRafaelGSS
authored andcommitted
build: pass -fPIC to linker as well for shared builds
PR-URL: #58070 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent dd4c5d6 commit b0fb5a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@
568568
}],
569569
[ 'node_shared=="true"', {
570570
'cflags': [ '-fPIC' ],
571+
'ldflags': [ '-fPIC' ],
571572
}],
572573
],
573574
}],

0 commit comments

Comments
 (0)