diff options
author | Sergio Prado <sergio.prado@e-labworks.com> | 2016-07-21 11:10:26 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-23 15:54:31 +0200 |
commit | 985543fcfe8327c5b6a137f6043c1bf76f10b456 (patch) | |
tree | 39d7c482e26857414951726dd221fb17cfb25dcf /support/scripts/pycompile.py | |
parent | 4cf4080087e7d7defa5fc50f42a3c6f94e3979be (diff) | |
download | buildroot-985543fcfe8327c5b6a137f6043c1bf76f10b456.tar.gz buildroot-985543fcfe8327c5b6a137f6043c1bf76f10b456.zip |
libarchive: fix build error when linking with lzma
Build fails when linking with liblzma compiled without threads support.
./.libs/libarchive.so: undefined reference to `lzma_cputhreads'
./.libs/libarchive.so: undefined reference to `lzma_stream_encoder_mt'
So let's enable LZMA only when toolchain has threads support.
Fixes:
http://autobuild.buildroot.org/results/2cb7f8a056982d0b894d0e2531ef357e74c8b796
http://autobuild.buildroot.org/results/d12954fbd460d396f255158fa127f39ff9d2be8d
http://autobuild.buildroot.org/results/abe10c70f38423a212ab27d7d27e22174eaa5aab
Many more...
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts/pycompile.py')
0 files changed, 0 insertions, 0 deletions