[packages/lirc] fix build without static libs

atler atler at pld-linux.org
Sat May 2 15:38:12 CEST 2020


commit 846d4f2d1dc44c3e7c1c3a03b71b842905c7bf62
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat May 2 15:37:51 2020 +0200

    fix build without static libs

 lirc.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/lirc.spec b/lirc.spec
index 3f110d5..41b249b 100644
--- a/lirc.spec
+++ b/lirc.spec
@@ -411,12 +411,14 @@ fi
 %{_pkgconfigdir}/lirc.pc
 %{_pkgconfigdir}/lirc-driver.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libirrecord.a
 %{_libdir}/liblirc.a
 %{_libdir}/liblirc_client.a
 %{_libdir}/liblirc_driver.a
+%endif
 
 %files doc
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lirc.git/commitdiff/846d4f2d1dc44c3e7c1c3a03b71b842905c7bf62



More information about the pld-cvs-commit mailing list