[packages/gtk+3] don't create static libs without static_libs

atler atler at pld-linux.org
Mon Jan 9 14:24:03 CET 2023


commit 1c2f9fe5a2b5865a3caee01e0b259a96a08cb9b6
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jan 9 14:23:09 2023 +0100

    don't create static libs without static_libs

 gtk+3.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk+3.spec b/gtk+3.spec
index 0316cfc..ec934ad 100644
--- a/gtk+3.spec
+++ b/gtk+3.spec
@@ -296,6 +296,7 @@ cp -a demos examples _examples
 %build
 CPPFLAGS="%{rpmcppflags}%{?with_papi: -I/usr/include/papi}"
 %meson build \
+	%{!?with_static_libs:--default-library=shared} \
 	-Dprint_backends=file,lpr%{?with_cups:,cups}%{?with_papi:,papi} \
 	-Dcloudproviders=%{__true_false cloudproviders} \
 	-Dgtk_doc=%{__true_false apidocs} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk+3.git/commitdiff/1c2f9fe5a2b5865a3caee01e0b259a96a08cb9b6



More information about the pld-cvs-commit mailing list