New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linker error not detected, when using "--no-undefined" linker option #1469
Comments
This might be a CMake issue. |
Hmm,
But this is due to this being the rule for the link step:
The |
Specifically, it seems to be an issue with |
Closing as it seems to be a CMake issue. Btw: Run ninja with |
Filed here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use cmake 3.12.1 and ninja (1.8.2). When using Wl,--no-undefined -Wl,--no-allow-shlib-undefined linker options, a linker error is not recognized by ninja, error code is 0. Using Unix Makefiles generator works as expected.
Sample code is here: ninjabug.zip
Using Makefiles is like this:
The text was updated successfully, but these errors were encountered: