[packages/canokey-qemu] - link lincanokey-core statically

qboosh qboosh at pld-linux.org
Tue Apr 2 22:03:51 CEST 2024


commit 776cc60e89f40f13720341f7534af6486568bc3f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 2 21:56:12 2024 +0200

    - link lincanokey-core statically

 canokey-qemu.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/canokey-qemu.spec b/canokey-qemu.spec
index aac9bfb..93045d3 100644
--- a/canokey-qemu.spec
+++ b/canokey-qemu.spec
@@ -75,7 +75,9 @@ Pliki nagłówkowe biblioteki canokey-qemu.
 %build
 install -d build
 cd build
-%cmake ..
+# set BUILD_SHARED_LIBS to OFF to link libcanokey-core statically into libcanokey-qemu
+%cmake .. \
+	-DBUILD_SHARED_LIBS=OFF
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/canokey-qemu.git/commitdiff/776cc60e89f40f13720341f7534af6486568bc3f



More information about the pld-cvs-commit mailing list