Uppercase Shell32 import causes problem when cross compiling on linux
envgap__CLIUtils__CLI11-1346
01 / FAILURE SIGNATURE
As reported upstream
collect2: error: ld returned 1 exit status
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
12ba4ac4dbaa6489cb07e01be796e2bc074ef4f4- Manifest
src/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
CLIUtils/CLI11 #1346 · read the original issue
## Summary I faced issues with the Shell32 library when compiling it via MinGW under Linux. ``` /usr/bin/x86_64-w64-mingw32-ld: cannot find -lShell32: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ``` ## Fix I just had to change the name `Shell32` to `shell32` in the following files: - src/CMakeLists.txt - tests/CMakeLists.txt
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]