Files
Bitsy 7d6999fc18 build: enable Linux (x64/arm64) native builds; keep wrapper LF
- 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).
2026-06-25 23:04:30 +02:00

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