Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/libfido2: Convert REINPLACE_CMD to patch file
- Loading branch information
Showing
2 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- CMakeLists.txt.orig 2022-01-17 12:42:03 UTC | ||
+++ CMakeLists.txt | ||
@@ -196,14 +196,10 @@ if(MSVC) | ||
else() | ||
include(FindPkgConfig) | ||
pkg_search_module(CBOR libcbor) | ||
- pkg_search_module(CRYPTO libcrypto) | ||
pkg_search_module(ZLIB zlib) | ||
|
||
if(NOT CBOR_FOUND AND NOT HAVE_CBOR_H) | ||
message(FATAL_ERROR "could not find libcbor") | ||
- endif() | ||
- if(NOT CRYPTO_FOUND AND NOT HAVE_OPENSSLV_H) | ||
- message(FATAL_ERROR "could not find libcrypto") | ||
endif() | ||
if(NOT ZLIB_FOUND) | ||
message(FATAL_ERROR "could not find zlib") | ||
--- src/libfido2.pc.in.orig 2022-01-17 12:42:03 UTC | ||
+++ src/libfido2.pc.in | ||
@@ -7,6 +7,5 @@ Name: @PROJECT_NAME@ | ||
Description: A FIDO2 library | ||
URL: https://github.com/yubico/libfido2 | ||
Version: @FIDO_VERSION@ | ||
-Requires: libcrypto | ||
Libs: -L${libdir} -lfido2 | ||
Cflags: -I${includedir} |