Fridrich Strba 2009-09-15 06:15:34 +00:00 committed by Git OBS Bridge
parent b8aadfbdf1
commit d948e7e04d

View File

@ -52,8 +52,8 @@ popd
# The above installs in /usr/x86_64-pc-mingw32/sys-root/x86_64-pc-mingw32/lib
# which is the wrong location. Move it to %{_mingw64_libdir}.
mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir}
mv $RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}/lib/* \
$RPM_BUILD_ROOT%{_mingw64_libdir}
for i in $RPM_BUILD_ROOT%{_prefix}/%{_mingw64_target}/lib/*; do \
mv $i $RPM_BUILD_ROOT%{_mingw64_libdir}; done
%clean
rm -rf $RPM_BUILD_ROOT