mirror of
https://github.com/bitsycore/compose-desktop-native.git
synced 2026-10-05 02:37:27 +00:00
- sdl3.def (x4): add Debian/Ubuntu multiarch include (-I/usr/include/<arch>-linux-gnu) so the Kotlin/Native cinterop clang resolves bits/libc-header-start.h. - demo/apidemo: add linuxX64 linkerOpts (-lfontconfig -lGL -lX11) for Skia/Skiko's system graphics stack; capture isLinuxX64 in the target scope (inside binaries.executable, name is the binary name, not the target). - .gitattributes: force gradlew + *.sh to LF so the wrapper runs under WSL/Linux/macOS/CI even on autocrlf Windows checkouts; mark resource/font/image blobs binary. Verified in WSL2 (Debian): demo + apidemo linkReleaseExecutableLinuxX64 build and run (Skia static; curl/OpenSSL bundled static in apidemo).
13 lines
365 B
Plaintext
13 lines
365 B
Plaintext
# Keep the Gradle wrapper and shell scripts LF so they run under
|
|
# WSL / Linux / macOS / CI even when checked out on Windows (autocrlf).
|
|
gradlew text eol=lf
|
|
*.sh text eol=lf
|
|
|
|
# Treat the resource archive + fonts as binary (no EOL munging).
|
|
*.kres binary
|
|
*.ttf binary
|
|
*.otf binary
|
|
*.png binary
|
|
*.jpg binary
|
|
*.webp binary
|