Skip to content

rustc not search LIB path (or LIBPATH) on windows for static library #43118

Closed
@BusyJay

Description

@BusyJay

It works fine when linking dynamic library. But when linking static library it will complains:

could not find native static library xxx, perhaps an -L flag is missing?

Although I have configured LIB and LIBPATH to the correct path.

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