Commit 4a4768a
committed
fix: enable macOS framework linking by setting ObjC language mode
native_toolchain_c only passes -framework flags to clang when the
language is objectiveC. Without this, IOKit/CoreFoundation/AppKit
frameworks were silently dropped, causing undefined symbol errors on
macOS. Also fix hidOpen test to use 0xFFFF/0xFFFF instead of 0/0,
since VID/PID 0 is a wildcard that matches real devices on macOS.1 parent 83a11ce commit 4a4768a
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
0 commit comments