[PATCH] [v4-6-stable] fix-compilation-error-of-heimdal-module-when-cross-compile

Andrew Bartlett abartlet at samba.org
Mon Sep 18 03:40:24 UTC 2017

On Sun, 2017-09-17 at 12:38 +0800, 海浪 via samba-technical wrote:
> Hi all,
>     This patch can fix the bug https://bugzilla.samba.org/show_bug.cg
> i?id=11891,
>     I am new to samba, any hints or review will be appreciated.
> Thanks a lot.
>     The issue occurs when compiling image for LEDE/OpenWRT (https://g
> ithub.com/lede-project/source),
>     waf system ignore 'use_hostcc' flag when building samba package.


Thanks for sending in that patch. 

In terms of the changes to wafadmin, we do try hard not to change that
but to instead get the changes made in upstream waf first.  There is a
github branch where Thomas Nagy, the author of waf, is trying to get us
to work with a more recent version, but I'm not sure exactly where that
is at.

We do realise that the hostcc stuff is really not well baked, most
folks using Samba cross-compiled seem to use MIT Krb5 on the target
platform instead, or avoid Kerberos entirely. 

I realise that doesn't really help you get your patch merged.


Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   

More information about the samba-technical mailing list