Skip to content

Commit de8e7bd

Browse files
committed
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 20feebb commit de8e7bd

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)