Skip to content

Comments

Hook: Use consistent output filename#349

Merged
simolus3 merged 1 commit intomainfrom
build-hook-fixes
Feb 11, 2026
Merged

Hook: Use consistent output filename#349
simolus3 merged 1 commit intomainfrom
build-hook-fixes

Conversation

@simolus3
Copy link
Owner

The hook should not emit filenames like libsqlite3.ios.arm64.dylib because that makes the generated filenames harder to bundle into a framework.

We're already using a unique directory in outputDirectoryShared that depends on the target ABI. So we can just use libsqlite3.dylib in there instead of trying to generate a unique filename.

This also adds a check to reuse existing files if they already exist.

Closes #348.

@simolus3 simolus3 self-assigned this Feb 10, 2026
@simolus3 simolus3 merged commit f8f3165 into main Feb 11, 2026
46 checks passed
@simolus3 simolus3 deleted the build-hook-fixes branch February 11, 2026 15:53
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.

[hook] Consistent dylib name acros architectures and ios sdks.

1 participant