depends = darwin posix
language = Objective-C
package = platform.objc
headers = objc/NSObjCRuntime.h objc/NSObject.h objc/message.h objc/objc-api.h \
    objc/objc-exception.h objc/objc-sync.h objc/objc.h objc/runtime.h

headerFilter = objc/**

excludedFunctions.watchos_arm64 = _objc_msgForward_stret \
    class_getMethodImplementation_stret method_invoke_stret

compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -lobjc

---
// objc-auto.h is excluded so far due to interop issues.
