Skip to content

Commit bc98abc

Browse files
authored
CSL_jll: Fix libatomic path for FreeBSD (#57811)
This is required to avoid introducing a name / binding in the Module without a corresponding definition. Resolves #57808
1 parent a676b12 commit bc98abc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/CompilerSupportLibraries_jll/src/CompilerSupportLibraries_jll.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ elseif Sys.isapple()
4141
const _libgomp_path = BundledLazyLibraryPath("libgomp.1.dylib")
4242
const _libssp_path = BundledLazyLibraryPath("libssp.0.dylib")
4343
else
44-
if !Sys.isfreebsd()
44+
if Sys.isfreebsd()
45+
const _libatomic_path = BundledLazyLibraryPath("libatomic.so.3")
46+
else
4547
const _libatomic_path = BundledLazyLibraryPath("libatomic.so.1")
4648
end
4749
const _libgcc_s_path = BundledLazyLibraryPath("libgcc_s.so.1")

0 commit comments

Comments
 (0)