[packages/libgusb] remove static libs workaround outdated since 0.3.2

atler atler at pld-linux.org
Tue Apr 23 21:43:55 CEST 2024


commit c14ac4ea168265703f8043db9b287f36477f247e
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Apr 23 20:24:07 2024 +0200

    remove static libs workaround outdated since 0.3.2

 libgusb.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/libgusb.spec b/libgusb.spec
index e1bbcc8..8a752cb 100644
--- a/libgusb.spec
+++ b/libgusb.spec
@@ -103,12 +103,9 @@ API języka Vala do libgusb.
 %prep
 %setup -q
 
-%if %{with static_libs}
-%{__sed} -i -e 's/shared_library/library/' gusb/meson.build
-%endif
-
 %build
 %meson build \
+	%{!?with_static_libs:--default-library=shared} \
 	-Ddocs=%{__true_false apidocs} \
 	-Dvapi=%{__true_false vala}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgusb.git/commitdiff/c14ac4ea168265703f8043db9b287f36477f247e



More information about the pld-cvs-commit mailing list