]> git.pld-linux.org Git - packages/gtksourceview5.git/commitdiff
fix build without static libs
authorJan Palus <atler@pld-linux.org>
Tue, 10 Nov 2020 13:25:47 +0000 (14:25 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 10 Nov 2020 13:25:47 +0000 (14:25 +0100)
gtksourceview4.spec

index 2e0269f947afbfcc9cfaed732962726f700ac144..6ed792a99a23e4868ebbfe7f5c2d31cf2a58b48e 100644 (file)
@@ -166,9 +166,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/gtksourceview-4.pc
 %{_datadir}/gir-1.0/GtkSource-4.gir
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgtksourceview-4.a
+%endif
 
 %if %{with apidocs}
 %files apidocs
This page took 0.060982 seconds and 4 git commands to generate.