Skip to content

Mac SDK include path apocalypse #434

@jjwilke

Description

@jjwilke

Newer versions of xcode will no longer have a /usr/include in the path, meaning many macport/homebrew/default compilers will NOT bring basic library headers into the include path by default. The MAC SDK must be explicitly specified with -isysroot

We have a couple ways to fix this. One is to give an explicit

--with-sdk=PATH_TO_SDK

option and force the user to specify it. Otherwise, we can try to detect OS and version and find ourselves using

xcrun --sdk macosx --show-sdk-path

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions