<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/libgdiplus/0001-Fix-compile-error-when-cross-compiling.patch, branch 2016.11.2</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.11.2</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.11.2'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2015-12-18T21:04:58+00:00</updated>
<entry>
<title>libgdiplus: fix cross-compilation error</title>
<updated>2015-12-18T21:04:58+00:00</updated>
<author>
<name>Sergio Prado</name>
<email>sergio.prado@e-labworks.com</email>
</author>
<published>2015-12-18T18:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e6dfc0c68ad70c7f933061e1f0ec2eb04909fff7'/>
<id>urn:sha1:e6dfc0c68ad70c7f933061e1f0ec2eb04909fff7</id>
<content type='text'>
When cross-compiling with toolchains that validate things like headers
and libraries paths, we were getting errors like:

sh-linux-gnu-gcc: ERROR: unsafe header/library path used in
cross-compilation: '/lib'

That's because there was an error in the configure script that was not
generating ldflags correctly, and the generated Makefile was trying to
link with -L/lib.

Also, it is necessary to pass a prefix when compiling with libjpeg and
libtiff support.

A patch has already been sent upstream.

Fixes:
http://autobuild.buildroot.org/results/58cad610b1bde68de82e44bf3c87d7bfcc1fa816/
http://autobuild.buildroot.org/results/649c258c05293fa5203d7d2c7b20a4265c2815ab/

Signed-off-by: Sergio Prado &lt;sergio.prado@e-labworks.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
