Skip to content

[CMake] LSQUIC_SHARED_LIB and missing symbols #681

Description

@PierreChatelier

Windows 10
Visual Studio
CMakeGUI

It's ok to build lsquic in both static and shared build thanks to LSQUIC_SHARED_LIB
However, the geenrated lsquic.vcxproj only declares link to:

<custom path>\zlib.lib
ws2_32.lib
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib

And when building in LSQUIC_SHARED_LIB enabled, there are missing crypto symbols at the link stage.

It is fixed by manually adding

ssl.lib
crypto.lib

as linked libraries, either by full path (like zlib) or by adding some /LIBPATH

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions