]> git.pld-linux.org Git - packages/unbound.git/commitdiff
add static_libs bcond master auto/th/unbound-1.20.0-1
authorJan Palus <atler@pld-linux.org>
Thu, 9 May 2024 09:30:54 +0000 (11:30 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 9 May 2024 09:30:54 +0000 (11:30 +0200)
unbound.spec

index 715d2cbc66c74583343aed9c9f315ea44db176ea..6d17f9a51ae90a73252b6ed6bb92b938cf707121 100644 (file)
@@ -6,6 +6,7 @@
 %bcond_with    dnscrypt        # dnscrypt support
 %bcond_with    dnstap          # dnstap replication support
 %bcond_with    redis           # cachedb support for redis (using hiredis)
+%bcond_without static_libs     # static library
 %bcond_with    systemd         # systemd support
 %bcond_without tests           # unit tests
 #
@@ -144,6 +145,7 @@ Pythonowy interfejs do biblioteki unbound.
 %{__autoheader}
 %configure \
        PYTHON=%{__python3} \
+       %{__enable_disable static_libs static} \
        %{?with_dnscrypt:--enable-dnscrypt} \
        %{?with_dnstap:--enable-dnstap} \
        %{?with_systemd:--enable-systemd} \
@@ -253,9 +255,11 @@ fi
 %{_mandir}/man3/libunbound.3*
 %{_mandir}/man3/ub_*.3*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libunbound.a
+%endif
 
 %if %{with python}
 %files -n python3-unbound
This page took 0.250721 seconds and 4 git commands to generate.