diff --git a/libraries/upstream/arsd/core.d b/libraries/upstream/arsd/core.d index a29670e030..68129e3919 100644 --- a/libraries/upstream/arsd/core.d +++ b/libraries/upstream/arsd/core.d @@ -204,6 +204,15 @@ version(OSXCocoa) else enum CocoaAvailable = false; +version(D_OpenD) { + version(OSXCocoa) + pragma(linkerDirective, "-framework", "Cocoa"); +} else { + version(OSXCocoa) + version(LDC) + pragma(linkerDirective, "-framework", "Cocoa"); +} + version(Posix) { import core.sys.posix.signal; import core.sys.posix.unistd;