wolfssl, bump version (#11566)

This commit is contained in:
Schrijvers Luc
2025-01-02 12:45:03 +01:00
committed by GitHub
parent 0be99ff3bc
commit 64a05f2909
3 changed files with 53 additions and 95 deletions

View File

@@ -0,0 +1,36 @@
From be964392b6d3e03e66e48daab7fc8bcca9e6d927 Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Thu, 2 Jan 2025 12:11:27 +0100
Subject: Fix install paths, link with libnetwork
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d090418..eb451f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2419,6 +2419,9 @@ elseif(APPLE)
${CORE_FOUNDATION_FRAMEWORK}
${SECURITY_FRAMEWORK})
endif()
+elseif(HAIKU)
+ # For Haiku link network
+ target_link_libraries(wolfssl PUBLIC network)
else()
if(WOLFSSL_DH AND NOT WOLFSSL_DH_CONST)
# DH requires math (m) library
@@ -2710,9 +2713,9 @@ if(WOLFSSL_INSTALL)
# Install the library
install(TARGETS wolfssl
EXPORT wolfssl-targets
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
# Install the headers
install(DIRECTORY ${WOLFSSL_OUTPUT_BASE}/wolfssl/
--
2.45.2