Skip to content

Commit 348d623

Browse files
committed
Add fPIC for trampoline on guix build.
1 parent a5e5285 commit 348d623

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/loaders/node_loader/trampoline/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ else()
8383
set(NODE_ADDON_INCLUDES
8484
"{
8585
'target_defaults': {
86+
'cflags': [
87+
'-fPIC'
88+
],
8689
'include_dirs': [
8790
'@NODE_ADDON_API_INCLUDE_DIR@/external-napi'
8891
]

0 commit comments

Comments
 (0)