Skip to content

Commit

Permalink
adds support for compiling against Musl (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
t089 authored Nov 22, 2024
1 parent c210d53 commit 78a92b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Sources/Soto/Extensions/STS/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
//
//===----------------------------------------------------------------------===//

#if os(Linux)
#if canImport(Glibc)
import Glibc
#else
#elseif canImport(Musl)
import Musl
#elseif canImport(Darwin)
import Darwin.C
#else
#error("The Soto module was unable to identify your C library.")
#endif

enum Environment {
Expand Down

0 comments on commit 78a92b8

Please sign in to comment.