-
Notifications
You must be signed in to change notification settings - Fork 530
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
Compile with QUIC_BUILD_SHARED=OFF may failed by linking dl.a #3989
Labels
Milestone
Comments
Patch the cmake function flatten_link_dependencies() in src/bin/CMakeLists.txt, skip target 'dl' just like the 'Threads::Threads' can fix it, actually cmake generate static library do not need link with libdl.a nore libdl.so
|
Would you be willing to propose a PR? |
We will try verify on latest release v2.2.4 and main branch, if this issue still exist, we will prepare a PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Try compile msquic as static library, it may failed by linking dl.a and file not found
Affected OS
Additional OS information
Docker image ubuntu:20.04
MsQuic version
v2.1
Steps taken to reproduce bug
Use FetchContent to introduce
Expected behavior
Generate libmsquic.a without any error
Actual outcome
Additional details
Compile on ubuntu 20.04 locally or cross compile with Android NDK r23.1 LTS, will all failed by linking dl.a
The text was updated successfully, but these errors were encountered: