heimdal-build: avoid hard-coded /usr/include/heimdal in asn1_compile-generated code.
authorUri Simchoni <uri@samba.org>
Sun, 20 Oct 2019 18:36:11 +0000 (21:36 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 1 Dec 2019 10:22:00 +0000 (10:22 +0000)
commit27fc062d7ea2207242d5a2c9933f3de5fa206488
treeffde4bbed78fb294f10d263a106d7a7ccc00f2f0
parent7c4341c736c875d048ca622217f762b895a945ba
heimdal-build: avoid hard-coded /usr/include/heimdal in asn1_compile-generated code.

This fixes a cross-compilation issue, as cross-compilers (rightly)
complain if host include directories are in the include path.

The fix is taken from buildroot (https://github.com/buildroot/buildroot/blob/8b11b96f41a6ffa76556c9bf03a863955871ee57/package/samba4/0006-heimdal_build-wscript_build-do-not-add-host-include-.patch) where it was applied by Bernd Kuhls <bernd.kuhls@t-online.de>.

This reverts some of 3fe2bfddda6149f6bf7402720226e9285f479fef, but
building Samba's bundled Heimdal with a system roken is not supported
anyway.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13856

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Dec  1 10:22:01 UTC 2019 on sn-devel-184
source4/heimdal_build/wscript_build