[packages/orc] pass option to meson to skip static libs creation when building without static libs

atler atler at pld-linux.org
Wed Feb 28 22:05:50 CET 2024


commit cdc954c63302003863d8327e032f09c5779ea40d
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Feb 28 21:55:33 2024 +0100

    pass option to meson to skip static libs creation when building without static libs

 orc.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/orc.spec b/orc.spec
index 3401ab6..8e3f1c4 100644
--- a/orc.spec
+++ b/orc.spec
@@ -79,7 +79,8 @@ Dokumentacja API biblioteki orc.
 %setup -q
 
 %build
-%meson build
+%meson build \
+	%{!?with_static_libs:--default-library=shared}
 
 %ninja_build -C build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/orc.git/commitdiff/c63963179dab2738a5b9428345dfc117b19e209c



More information about the pld-cvs-commit mailing list