Commit 0db9a0d
committed
Remove duplicate driver workaround for macOS
On macOS, applications can bundle drivers with themselves. When they do
this and also install the same driver to a global location, the loader
will load 2 separate drivers which happen to be the same binary,
causing the linker to emit warnings.
The fix was to simply only load one driver if the app was bundled.
Because there was only one macOS driver available, this worked. Now that
both KosmicKrisp and LavaPipe are available, this workaround is no
longer appropriate. If apps bundle multiple drivers, they would be
unable to use more than 1.1 parent 918e869 commit 0db9a0d
File tree
4 files changed
+8
-15
lines changed- loader
- tests
4 files changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3354 | 3354 | | |
3355 | 3355 | | |
3356 | 3356 | | |
3357 | | - | |
3358 | | - | |
| 3357 | + | |
3359 | 3358 | | |
3360 | 3359 | | |
3361 | 3360 | | |
| |||
3442 | 3441 | | |
3443 | 3442 | | |
3444 | 3443 | | |
3445 | | - | |
3446 | | - | |
3447 | | - | |
3448 | 3444 | | |
3449 | 3445 | | |
3450 | 3446 | | |
| |||
3463 | 3459 | | |
3464 | 3460 | | |
3465 | 3461 | | |
3466 | | - | |
3467 | 3462 | | |
3468 | 3463 | | |
3469 | 3464 | | |
| |||
3684 | 3679 | | |
3685 | 3680 | | |
3686 | 3681 | | |
3687 | | - | |
3688 | | - | |
3689 | | - | |
3690 | 3682 | | |
3691 | 3683 | | |
3692 | 3684 | | |
| |||
3781 | 3773 | | |
3782 | 3774 | | |
3783 | 3775 | | |
3784 | | - | |
| 3776 | + | |
3785 | 3777 | | |
3786 | 3778 | | |
3787 | 3779 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
| 231 | + | |
233 | 232 | | |
234 | 233 | | |
235 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | | - | |
| 791 | + | |
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4458 | 4458 | | |
4459 | 4459 | | |
4460 | 4460 | | |
4461 | | - | |
| 4461 | + | |
4462 | 4462 | | |
4463 | | - | |
| 4463 | + | |
4464 | 4464 | | |
4465 | 4465 | | |
| 4466 | + | |
| 4467 | + | |
4466 | 4468 | | |
4467 | 4469 | | |
4468 | 4470 | | |
| |||
0 commit comments