-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libfido2: add patch to install the pkgconfig files
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
gvsbuild/patches/libfido2/0001-Install-pkgconfig-files-also-on-msvc.patch
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,28 @@ | ||
From dd8f6403dd58e67b3f62fa7d41f8d16ac3cdfd40 Mon Sep 17 00:00:00 2001 | ||
From: Ignacio Casal Quinteiro <[email protected]> | ||
Date: Wed, 15 Nov 2023 11:39:36 +0100 | ||
Subject: [PATCH] Install pkgconfig files also on msvc | ||
|
||
--- | ||
src/CMakeLists.txt | 8 +++----- | ||
1 file changed, 3 insertions(+), 5 deletions(-) | ||
|
||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
index 73493b1..4c54198 100644 | ||
--- a/src/CMakeLists.txt | ||
+++ b/src/CMakeLists.txt | ||
@@ -151,8 +151,6 @@ endif() | ||
install(FILES fido.h DESTINATION include) | ||
install(DIRECTORY fido DESTINATION include) | ||
|
||
-if(NOT MSVC) | ||
- configure_file(libfido2.pc.in libfido2.pc @ONLY) | ||
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libfido2.pc" | ||
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") | ||
-endif() | ||
+configure_file(libfido2.pc.in libfido2.pc @ONLY) | ||
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libfido2.pc" | ||
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") | ||
-- | ||
2.34.1 | ||
|
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