devsisters/libquic

Patch to compile on FreeBSD

larseggert opened this issue · 1 comments

diff --git a/boringssl/ssl/test/CMakeLists.txt b/boringssl/ssl/test/CMakeLists.txt
index 9992360..464e551 100644
--- a/boringssl/ssl/test/CMakeLists.txt
+++ b/boringssl/ssl/test/CMakeLists.txt
@@ -11,6 +11,6 @@ add_executable(
 )

 target_link_libraries(bssl_shim ssl crypto)
-if (NOT APPLE AND NOT WIN32)
+if (NOT APPLE AND NOT WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
   target_link_libraries(bssl_shim dl)
 endif()

Thank you for patch!
I recently sync-ed libquic with recent chromium codes (and boringssl) and then the build works on FreeBSD now.
I'll close the issue. If the problem still exists, please re-open this issue.