Skip to content

Commit fe846ec

Browse files
committed
build: pass -fPIC to linker as well for shared builds
1 parent 75bddfa commit fe846ec

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)