libogg question

Erik van Pienbroek erik at vanpienbroek.nl
Tue Mar 24 15:52:31 UTC 2009


Op dinsdag 24-03-2009 om 16:32 uur [tijdzone +0100], schreef Zoltan
Seress:
> Hi,
> 
> I tried to cross compile libogg from the libogg-1.1.3-9.fc9.src.rpm.
> When the build finishes there is only a libogg-0.dll in bindir, and no
> libogg*.dll.a in libdir. Is it normal? I guess not. I attached my
> short spec file. Any help will be appreciated. 

Hi,

This looks like a small thing which was overlooked. I see the following
in the %install phase of the .spec file:

# remove unpackaged files from the buildroot
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_mingw32_libdir}/*.a

The second command also removes the .dll.a files, so that's why you
can't find them.

Regards,

Erik van Pienbroek





More information about the mingw mailing list