aboutsummaryrefslogtreecommitdiffstats
path: root/lang/swift510/files/patch-swift_stdlib_public_Platform_glibc.modulemap.gyb
blob: b4f10d3075c7da8cbe49836f4a2a5772230b9b84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- swift/stdlib/public/Platform/glibc.modulemap.gyb.orig	2024-06-06 04:26:30 UTC
+++ swift/stdlib/public/Platform/glibc.modulemap.gyb
@@ -19,7 +19,7 @@ module SwiftGlibc [system] {
 /// It's not named just Glibc so that it doesn't conflict in the event of a
 /// future official glibc modulemap.
 module SwiftGlibc [system] {
-% if CMAKE_SDK in ["LINUX", "ANDROID", "OPENBSD"]:
+% if CMAKE_SDK in ["LINUX", "ANDROID", "FREEBSD", "OPENBSD"]:
       link "m"
 % end
 % if CMAKE_SDK in ["LINUX", "FREEBSD", "OPENBSD", "CYGWIN"]: