diff options
author | Noé Rubinstein <nrubinstein@aldebaran.com> | 2016-08-26 11:27:36 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-27 15:27:29 +0200 |
commit | 37ad91db540bcd15281b8c38a83fc208c720f1e3 (patch) | |
tree | a619dc4ed8b9422e9599558170097b14ee0594a4 /package/python-pyqt | |
parent | a2825382a22f7b1d84d5fc2d8c2424d97663c9d6 (diff) | |
download | buildroot-37ad91db540bcd15281b8c38a83fc208c720f1e3.tar.gz buildroot-37ad91db540bcd15281b8c38a83fc208c720f1e3.zip |
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>
Diffstat (limited to 'package/python-pyqt')
0 files changed, 0 insertions, 0 deletions