Skip to content

Do not hardcode C++ library on macOS #3805

Open
@barracuda156

Description

C++ runtime library should not be hardcoded, since macOS may have either or both. Normally a compiler knows what to link to, it is not needed to specify it.

I.e. Darwin should be removed from here:

  if ['ios', 'darwin', 'android'].contains(system)
    cpp_lib = '-lc++'
  endif

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