Skip to content

Commit

Permalink
correctly link libstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
normanmaurer committed Oct 30, 2024
1 parent 5bc96ec commit 501b073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl-dynamic/src/main/native-package/m4/tcnative.m4
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ AC_DEFUN([TCN_CHECK_STATIC],[
LD_FLAGS_STATIC="-Wl,-exported_symbol,_JNI_*"
;;
*linux*)
LD_FLAGS_STATIC="-Wl,--exclude-libs,ALL"
LD_FLAGS_STATIC="-static-libstdc++ -l:libstdc++.a -Wl,--exclude-libs,ALL"
;;
*)
LD_FLAGS_STATIC=""
Expand Down

0 comments on commit 501b073

Please sign in to comment.