(CC-ing to the mailing list with the original patches)
On Thu, Dec 18, 2008 at 12:52:19AM +0100, Fridrich Strba wrote:
I was doing some cloning of your Rawhide packages for my personal
use
and I discovered a bug in the _mingw32_make macro and also maybe some
reasons why.
Setting the prefix to %{buildroot}%{prefix} is not seen as flawed now,
but with more and more cross-built packages it will show that the
libtool archive (*.la) files will give wrong prefix and result somehow
also in linking errors.
I'm a bit confused by what the mistake is .. The *.la files we are
generating now seem to have correct paths inside them. Can you point
to an example where there is a problem?
I think that the reason is basically the w32api and mingwrt package
where make install does not honour DESTDIR setting. Find attached two
patches that will make that DESTDIR to be respected.
Also, I sent a proposed (IMHO better) mingw32 macros files. Note that
the CLASSPATH variable is not useful for you people if you don't
distribute the mingw32-gcc-java cross-compiler that I personally use for
building of some java bindings of my private libraries. But the
_mingw32_make and _mingw32_makeinstall macros could be considered I
guess. I even make the mingw32-make symlink because several non-libtool
applications cross-compile much better using mingw32-make which sets all
the needed env variables.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/