[SR-12909] SwiftPM does not use the default library search path for linking system libraries #55355
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Additional Detail from JIRA
md5: 36b38e09726d2d32e410b2cde5140903
Issue Description:
When using a system library target whose modulemap contains an autolink directive, builds will work but linking will fail. This is appears to be because SwiftPM only searches in the SDK for system library targets, and does not use the linker default search paths. See [this SwiftPM thread| https://forums.swift.org/t/swift-package-manager-linker-flags-and-dependencies/36943] for more details.
The text was updated successfully, but these errors were encountered: