Skip to content

Linking a simple swift program with a static library dependency fails. #249

Open
@kcieplak

Description

@kcieplak

On windows a simple command link tool, that has a dependency on a static library fails to link.

LinkerTests.alternateLinkerSelection exposes this error and has to expect the error.

During the "Ld" task the linker fails to find the shared library.
LNK1181: cannot open input file 'Library.lib'

To reproduce
swift test --filter alternateLink

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions