Skip to content

[macOS] CoreHaptics framework is not weakly linked, causing a hard dependency on CoreHaptics #1241

Open
@bigfarts

Description

@bigfarts

On macOS <Catalina, CoreHaptics.framework is not present so running a rust-sdl2 program linked against CoreHaptics doesn't work. It looks like usually CoreHaptics.framework is weakly linked in the C build of SDL, but I don't know how to do this in Rust.

This only occurs with statically linked SDL, I think with dynamic linking it's probably fine.

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