diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-08-13 15:48:21 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-08-18 11:38:09 +0200 |
commit | ab2a9598fe550f6ac03f0268e40b21d368666d03 (patch) | |
tree | e64119665ea5db1b309cd64ce2896dc3404ff3fa /docs | |
parent | a371869499e2834b79bd91bb68d6d61af0e8f020 (diff) | |
download | buildroot-ab2a9598fe550f6ac03f0268e40b21d368666d03.tar.gz buildroot-ab2a9598fe550f6ac03f0268e40b21d368666d03.zip |
package/systat: fix linking with -lintl
When linking, libraries should be listed in the reverse-dependency order,
that is the library/ies with no dependency last, preceded by libraries
that depend on them.
And most importantly, libraries should be listed *after* the local
objects, .o files.
Currently, sysstat uses CFLAGS to shoehorn the -lintl linker flags,
which is incorrect, as the CFLAGS are passed before the object files.
However, sysstat has a LFLAGS variable that, presumably, is to be used
to pass linker flags. This is where we want to shoehorn -lintl.
Fixes:
http://autobuild.buildroot.org/results/8cc/8cc547074de23b9482ad110234ef7458a44e174a/
http://autobuild.buildroot.org/results/360/360f7b8252dc9f6bb47841b1d7207a121f90048c/
http://autobuild.buildroot.org/results/04c/04cfc76a09e089985549a4320f34f6669d21cab5/
http://autobuild.buildroot.org/results/818/818c08decf4a6190a9ed39915eae4cd3d2779880/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions