mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
wolfssl, bump version (#11566)
This commit is contained in:
36
dev-libs/wolfssl/patches/wolfssl-5.7.6.patchset
Normal file
36
dev-libs/wolfssl/patches/wolfssl-5.7.6.patchset
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user