Another try to fix windows

This commit is contained in:
Sergey Kuznetsov
2026-04-29 15:49:30 +01:00
parent 175259df28
commit bc483b2a1d
2 changed files with 5 additions and 2 deletions

View File

@@ -231,11 +231,11 @@ jobs:
working-directory: ${{ env.BUILD_DIR }}
run: |
ldd ./xrpld
if [ "$(ldd ./xrpld | grep -E '(libstdc\+\+|libgcc)' | wc -l)" -eq 0 ]; then
if [ "$(ldd ./xrpld | grep -E 'libstdc\+\+' | wc -l)" -eq 0 ]; then
echo 'The binary is statically linked.'
else
echo 'The binary is dynamically linked.'
# exit 1
exit 1
fi
- name: Verify presence of instrumentation (Linux)

View File

@@ -1,2 +1,5 @@
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-args=-static-libgcc"]
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]