Skip to content

Commit 489cf80

Browse files
committed
build: pass -fPIC to linker as well for shared builds
1 parent 6764e4a commit 489cf80

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)