Skip to content

Commit

Permalink
Merge pull request #90 from tkrajacic/add-musl-support
Browse files Browse the repository at this point in the history
Add support for Musl and Bionic for static cross compilation
  • Loading branch information
Joannis authored Dec 10, 2024
2 parents 4a74372 + 326b74d commit be1a5bc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Sources/Citadel/Exec/Server/ExecHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ import NIOFoundationCompat
import NIOPosix
import NIOSSH

#if os(Linux)
import Glibc
#else
#if canImport(Darwin)
import Darwin
#elseif canImport(Glibc)
import Glibc
#elseif canImport(Musl)
import Musl
#elseif canImport(Bionic)
import Bionic
#endif

enum SSHServerError: Error {
Expand Down

0 comments on commit be1a5bc

Please sign in to comment.