Note libscu+ninja link failure and solution

"This is a known issue when building with ninja. The workaround for this is to remove src/csu/libcsu.a and then try again." The path "src/csu/libcsu.a" is outdated, the new path is "src/external/csu/libcsu.a".
https://github.com/darlinghq/darling/issues/915#issuecomment-760972529
This commit is contained in:
Lavt Niveau 2023-02-04 18:11:10 -07:00 committed by GitHub
parent 86b975199a
commit 24bf282063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,6 +182,10 @@ As an alternative to `make`, `ninja` comes with parallelism on by default and a
Follow the normal build instructions until you get to the `cmake ..` step. Replace that with `cmake .. -GNinja`. Now you can build with `ninja` instead of `make`.
#### Ninja fails to link libscu
If you are using Ninja, the library "libscu" might fail to link. The solution is to remove the library located at "./src/external/csu/libcsu.a" and try again. See [this issue](https://github.com/darlinghq/darling/issues/915) for more information.
### Debug Builds
By default, CMake setups up a non-debug, non-release build.