Commit 3a867f4
committed
mavsdk_server: simplify linking
On Windows, the mavsdk_server unit tests don't link properly when
building with shared libs. For whatever reason the transitive
dependencies didn't get tracked from the protobu/grpc components all the
way into the mavsdk_server unit tests.
I suspect that either some symbols get stripped too early, or it has to
do with the export visibility in MSVC.
I couldn't quite get to the bottom of it but I realized that we could
just simplify it by avoiding the little libraries and just adding all
sources to the mavsdk_server library in the first place.
Let's see if it works...
Signed-off-by: Julian Oes <[email protected]>1 parent 3cd9aa9 commit 3a867f4
1 file changed
+8
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | | - | |
6 | 12 | | |
7 | | - | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 19 | | |
25 | 20 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 21 | | |
34 | 22 | | |
35 | 23 | | |
| |||
47 | 35 | | |
48 | 36 | | |
49 | 37 | | |
50 | | - | |
51 | 38 | | |
52 | 39 | | |
53 | 40 | | |
| |||
0 commit comments