Date: Sat, 03 Dec 2016 14:15:14 -0800 From: John Baldwin <jhb@freebsd.org> To: Bryan Drewery <bdrewery@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r309476 - head/include Message-ID: <2724530.RObcHE23iL@ralph.baldwin.cx> In-Reply-To: <201612030529.uB35TCal025016@repo.freebsd.org> References: <201612030529.uB35TCal025016@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, December 03, 2016 05:29:12 AM Bryan Drewery wrote: > Author: bdrewery > Date: Sat Dec 3 05:29:12 2016 > New Revision: 309476 > URL: https://svnweb.freebsd.org/changeset/base/309476 > > Log: > Create the /usr/lib/include symlink as relative. > > This ugly code is done to avoid assuming LIBDIR is 2 components > deep. > > Reported by: jhb Thanks! For other folks: this broke the ability to use a DESTDIR installworld as a --sysroot with a cross-compiler since the cross-compiler would follow the /usr/include symlink in /usr/lib/include in the sysroot to the host's /usr/include and end up using the host's headers. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2724530.RObcHE23iL>