Skip to content

fix(ispxnative): scope duplicate linker flag to Windows - #1769

Merged
joeykchen merged 1 commit into
goplus:devfrom
joeykchen:fix/ispxnative-linker-flags
Aug 21, 2026
Merged

fix(ispxnative): scope duplicate linker flag to Windows#1769
joeykchen merged 1 commit into
goplus:devfrom
joeykchen:fix/ispxnative-linker-flags

Conversation

@joeykchen

Copy link
Copy Markdown
Contributor

Summary

Apply --allow-multiple-definition only to Windows c-shared builds. Linux uses its native linker defaults, matching the other SPX bridge build paths.

Verification

  • bash -n cmd/ispxnative/build.sh
  • git diff --check

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The linker-flag change is correctly scoped to Windows in cmd/ispxnative/build.sh; Linux and macOS now use their native linker defaults while the Windows duplicate-definition workaround remains enabled. The supported CI matrix and installer path are consistent with this behavior.

Verified with bash -n cmd/ispxnative/build.sh, git diff --check on the fixed commit range, and a successful Linux ./build.sh c-shared build.

@joeykchen
joeykchen merged commit d0061a0 into goplus:dev Aug 21, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant