From 7fbd37ea13a5f6f4cc1f2e9fcc66b83bc358e5fc Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Remove static libraries. --- example/mingw-example.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/mingw-example.spec b/example/mingw-example.spec index b09941d..7492ba3 100644 --- a/example/mingw-example.spec +++ b/example/mingw-example.spec @@ -36,6 +36,9 @@ make rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +# Remove static libraries but DON'T remove *.dll.a files. +rm $RPM_BUILD_ROOT%{mingw_libdir}/libfoo.a + %clean rm -rf $RPM_BUILD_ROOT -- 1.8.3.1