[OpenWrt-Devel] [PATCH 1/1] [buildroot] Fix for liblzma breaks redhat-like systems

Daniel Dickinson openwrt at daniel.thecshore.com
Wed Aug 19 19:31:11 EDT 2015


This resolves the build issue on CentOS.

On 2015-08-15 10:37 AM, Hauke Mehrtens wrote:
> On 08/09/2015 05:50 AM, Daniel Dickinson wrote:
>> On RedHat/Fedora and derivatives we must use the system liblzma
>> from xz-devel because the liblzma in tools/xz breaks these
>> systems due to system tools (which use liblzma) having
>> missing symbols when staging_dir/host/lib has liblzma
>> (because buildroot puts staging_dir/host/lib first in
>> library load path and therefore all binaries not just
>> buildroot's binaries use liblzma from staging_dir/host/lib, at
>> least while building OpenWrt).
>>
>> Closes: 20134
>> Signed-off-by: Daniel Dickinson <openwrt at daniel.thecshore.com>
>> ---
>>   include/host.mk          |  7 ++++++-
>>   include/prereq-build.mk  |  7 +++++++
>>   tools/Makefile           | 11 ++++++++---
>>   tools/squashfs4/Makefile |  2 +-
>>   4 files changed, 22 insertions(+), 5 deletions(-)
>>
> Please check if your patch is still needed with r46603
> https://dev.openwrt.org/changeset/46603
>
> Hauke
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list