Commit 23c6aec
committed
Fix build under MSYS2 MinGW-w64 (Windows)
- Under MSYS2 MinGW-w64 the filename of the hidapi import library
is "libhidapi.dll.a". Add hidapi.dll to NAMES of findlibrary().
- Use SUFFIX ".dll" for libtempered and libtempered-util, which is
typical under Windows in case of shared libraries. Result:
libtempered.so -> libtempered.dll
libtempered-util.so -> libtempered-util.dll1 parent e4c5a3a commit 23c6aec
3 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
0 commit comments