From 0c78037e4e5300312a46f40b7600bb713ee97e3e Mon Sep 17 00:00:00 2001 From: "a.adaszkiewi" Date: Thu, 20 Feb 2025 10:12:30 +0100 Subject: [PATCH] Remove dependency on OpenSSL form liblp The library does not depend on OpenSSL and it shouldn't link to it. This fixes build issues for x86_64 arch. Change-Id: I913fa46596fb54acbcdb2fd0f55a409604a858ce --- src/dynamic-partitions/liblp/CMakeLists.txt | 3 --- src/dynamic-partitions/parse-dynparts/README.md | 1 - 2 files changed, 4 deletions(-) diff --git a/src/dynamic-partitions/liblp/CMakeLists.txt b/src/dynamic-partitions/liblp/CMakeLists.txt index 8d6efd6..c889bb4 100644 --- a/src/dynamic-partitions/liblp/CMakeLists.txt +++ b/src/dynamic-partitions/liblp/CMakeLists.txt @@ -14,6 +14,3 @@ add_library(lp STATIC ${lp_srcs}) target_compile_definitions(lp PUBLIC -D_FILE_OFFSET_BITS=64) target_include_directories(lp PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) target_compile_options(lp PRIVATE -Wall -Wextra -pedantic -fPIE -Wno-stringop-truncation) - -find_package(OpenSSL REQUIRED) -target_link_libraries(lp PRIVATE OpenSSL::Crypto) \ No newline at end of file diff --git a/src/dynamic-partitions/parse-dynparts/README.md b/src/dynamic-partitions/parse-dynparts/README.md index 848b5c9..841876e 100644 --- a/src/dynamic-partitions/parse-dynparts/README.md +++ b/src/dynamic-partitions/parse-dynparts/README.md @@ -34,7 +34,6 @@ a Device Mapper block device for each logical partition in the image. Dependencies ============ - CMake - - OpenSSL (for hash functions) Building ======== -- 2.34.1