Bug 24186 – pragma(linkerDirective) not implemented on Mac

Status
NEW
Severity
enhancement
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
Mac OS X
Creation time
2023-10-13T16:29:36Z
Last change time
2024-12-13T19:31:07Z
Assigned to
No Owner
Creator
Adam D. Ruppe
Moved to GitHub: dmd#18190 →

Comments

Comment #0 by destructionator — 2023-10-13T16:29:36Z
On ldc this works and a PR for pragma(framework) was closed in favor of linkerDirective but it doesn't work on mac. It should be able to add a reference to one of the Mac OS frameworks.
Comment #1 by destructionator — 2023-10-13T16:46:30Z
i was told this is unclear. pragma(linkerDirective) works to add frameworks on Mac when using LDC. It should work on DMD as well but currently does not.
Comment #2 by robert.schadek — 2024-12-13T19:31:07Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18190 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB