buildroot/package/trousers
Noé Rubinstein 37ad91db54 trousers: fix build with musl
The trousers code uses getpwent_r, which is not available in musl.
Detect the availability of getpwent_r in the trousers build system, and
use it conditionally.

This broke the build of tpm-tools because linking with libtspi.so
failed.

Fixes:

  http://autobuild.buildroot.net/results/830fc20c68a0653afa5567edffc2ededc4e45cc6

Runtime-tested by running tpm_version in a chroot and verifying that it
creates a "user.data" file with both the Buildroot-provided CodeSourcery
and Musl toolchains on x86_64.

Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-27 15:27:29 +02:00
..
0001-Remove-inline-for-read_data-and-write_data.patch
0002-Check-if-the-compiler-understands-pie-and-relro-options.patch
0003-tsp_tcsi_param-include-limits.h-to-fix-musl-build.patch package/trousers: fix musl build 2016-08-22 16:46:08 +02:00
0004-Check-that-getpwent_r-is-available-before-using-it.patch trousers: fix build with musl 2016-08-27 15:27:29 +02:00
Config.in
trousers.hash
trousers.mk package/trousers: needs host-pkgconf 2016-08-22 16:45:56 +02:00