From b9f0bc78c168a31169f598565078f89d5cdd4d1c Mon Sep 17 00:00:00 2001 From: Dongkyun Son Date: Fri, 7 Jan 2022 22:01:39 +0900 Subject: [PATCH] packaging: keep static Change-Id: I410cd9572b3685ab9f40b80f634764867b4e378a Signed-off-by: Dongkyun Son --- packaging/libtool.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/libtool.spec b/packaging/libtool.spec index 006a508..33d2136 100644 --- a/packaging/libtool.spec +++ b/packaging/libtool.spec @@ -1,3 +1,4 @@ +%define keepstatic 1 Name: libtool Summary: A Tool to Build Shared Libraries License: GPL-2.0+ @@ -49,7 +50,7 @@ rm -f doc/libtool.info %install -%make_install +make install DESTDIR=$RPM_BUILD_ROOT %remove_docs %post -n libltdl -p /sbin/ldconfig @@ -64,6 +65,8 @@ rm -f doc/libtool.info %{_includedir}/libltdl %{_includedir}/ltdl.h %{_libdir}/libltdl.so +%{_libdir}/libltdl.a +%attr(644, root, root) %{_libdir}/libltdl.la %{_datadir}/aclocal/*.m4 %{_datadir}/libtool -- 2.7.4