Skip to content

Commit 8fb00ef

Browse files
authored
fix(loong64): resolve missing GLIBCXX_3.4.31/3.4.32 error with --partly-static (#188)
Add --partly-static to config_flags in compilation script to enable partial static linking of libstdc++ during Node.js build. This addresses the runtime error where the Loong64 Node.js binary fails to find required GLIBCXX versions in system libstdc++.so.6.
1 parent f973431 commit 8fb00ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/loong64/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ commit="$5"
1111
fullversion="$6"
1212
source_url="$7"
1313
source_urlbase="$8"
14-
config_flags="--openssl-no-asm"
14+
config_flags="--openssl-no-asm --partly-static"
1515

1616
cd /home/node
1717

0 commit comments

Comments
 (0)