Skip to content

cross compilation for linux on macOS fails #1317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ha100 opened this issue May 27, 2025 · 0 comments
Open

cross compilation for linux on macOS fails #1317

ha100 opened this issue May 27, 2025 · 0 comments

Comments

@ha100
Copy link

ha100 commented May 27, 2025

compilation fails with

⋮
.build/checkouts/SQLite.swift/Sources/SQLite/Core/Backup.swift:32:8: error: no such module 'CSQLite'
 30 | import SQLCipher
 31 | #elseif os(Linux)
 32 | import CSQLite
    |        `- error: no such module 'CSQLite'
 33 | #else
 34 | import SQLite3
⋮

when invoked with command swift build --swift-sdk x86_64-swift-linux-musl

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

No branches or pull requests

1 participant