[packages/gegl] build only shared libraries when building without static_libs

atler atler at pld-linux.org
Wed Jan 14 11:18:38 CET 2026


commit cefc882689acc094caaffc0badadc01bfd13f255
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jan 14 11:12:25 2026 +0100

    build only shared libraries when building without static_libs

 gegl.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gegl.spec b/gegl.spec
index cd91d65..a7438e3 100644
--- a/gegl.spec
+++ b/gegl.spec
@@ -3,7 +3,7 @@
 %bcond_with	doc		# apidocs
 %bcond_without	lensfun		# lensfun support
 %bcond_without	lua		# Lua support
-%bcond_without	static_libs	# static library
+%bcond_without	static_libs	# static libraries
 %bcond_without	introspection	# API introspection
 %bcond_without	vala		# Vala API
 
@@ -193,6 +193,7 @@ API języka Vala dla biblioteki gegl.
 
 %build
 %meson \
+	%{!?with_static_libs:--default-library=shared} \
 	-Ddocs=%{__true_false doc} \
 	-Dgtk-doc=%{__true_false doc} \
 	%{!?with_doc:-Dgi-docgen=disabled} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gegl.git/commitdiff/a37370d7fddfe0e127d34b40931245411ae6c19a



More information about the pld-cvs-commit mailing list