Hi,

In our codebase we have vcpkg overlay triplets:

  openvpn\contrib\vcpkg-triplets
    arm64-windows-ovpn.cmake
    x64-windows-ovpn.cmake
    x86-windows-ovpn.cmake

They exist only to support static linking of lz4. All other libraries
(lzo, libss, libcrypto, libpkcs11-helper) are linked dynamically. The
reason for static linking in MSVC is to maintain compatibility with
the generic build system, which links lz4 statically.

Since we don't use the generic build system for building releases, we
could drop --enable-lz4 option support from it and link lz4 in MSVC
dynamically. This would allow us to simplify the MSVC build system,
get rid of custom triples and remove some code.

Thoughts?

-- 
-Lev


_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to