Skip to content

[cmake] Disallow undefined symbols in most ndlls - #323

Merged
tobil4sk merged 1 commit into
HaxeFoundation:masterfrom
tobil4sk:fix/no-undefined
Aug 16, 2026
Merged

[cmake] Disallow undefined symbols in most ndlls#323
tobil4sk merged 1 commit into
HaxeFoundation:masterfrom
tobil4sk:fix/no-undefined

Conversation

@tobil4sk

Copy link
Copy Markdown
Member

If a symbol is undefined, it may cause a load time error. We can catch this at link time instead by using --no-undefined. Some ndlls intentionally allow undefined symbols, so this is not applied universally.

This helps avoid broken builds such as: https://gitlab.archlinux.org/archlinux/packaging/packages/neko/-/work_items/1

If a symbol is undefined, it may cause a load time error. We can catch
this at link time instead by using --no-undefined. Some ndlls
intentionally allow undefined symbols, so this is not applied
universally.
@tobil4sk
tobil4sk merged commit 05bd5df into HaxeFoundation:master Aug 16, 2026
16 checks passed
@tobil4sk
tobil4sk deleted the fix/no-undefined branch August 16, 2026 20:41
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