Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-08 Thread Martin Storsjö
On Mon, 8 Oct 2018, Earnie via Mingw-w64-public wrote: On 10/7/2018 10:32 AM, Martin Storsjö wrote: On Sun, 7 Oct 2018, Jacek Caban wrote: On 05/10/2018 23:02, Martin Storsjö wrote: It seems tempting to use just standard --includedir here, but I couldn't find a way to change its default value

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-08 Thread Earnie via Mingw-w64-public
On 10/7/2018 10:32 AM, Martin Storsjö wrote: > On Sun, 7 Oct 2018, Jacek Caban wrote: >> On 05/10/2018 23:02, Martin Storsjö wrote: >> >> It seems tempting to use just standard --includedir here, but >> I couldn't find a way to change its default value (we'd need >> to default to $prefix/$host/incl

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-08 Thread Jacek Caban
Hi Martin, The patch looks good to me. Thanks, Jacek On 08/10/2018 11:27, Martin Storsjö wrote: At least clang looks for headers in prefix/include in addition to prefix/triplet/include. This allows configuring widl to look for them in that directory as well. When shipping sysroots for mor

[Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-08 Thread Martin Storsjö
At least clang looks for headers in prefix/include in addition to prefix/triplet/include. This allows configuring widl to look for them in that directory as well. When shipping sysroots for more than one or two target architectures, allowing sharing the headers in a triplet-less include directory

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-07 Thread Jacek Caban
On 10/07/2018 04:47 PM, Martin Storsjö wrote: > On Sun, 7 Oct 2018, Jacek Caban wrote: > >> On 10/07/2018 04:32 PM, Martin Storsjö wrote: >>     diff --git >>     a/mingw-w64-tools/widl/configure.ac >>     b/mingw-w64-to >>     ols/widl/configure.ac >>     in

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-07 Thread Martin Storsjö
On Sun, 7 Oct 2018, Jacek Caban wrote: On 10/07/2018 04:32 PM, Martin Storsjö wrote: diff --git a/mingw-w64-tools/widl/configure.ac b/mingw-w64-to ols/widl/configure.ac index 3064bed..27bcbfe 100644 --- a/mingw-w

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-07 Thread Jacek Caban
On 10/07/2018 04:32 PM, Martin Storsjö wrote: >> diff --git a/mingw-w64-tools/widl/configure.ac b/mingw-w64-to >> ols/widl/configure.ac >> index 3064bed..27bcbfe 100644 >> --- a/mingw-w64-tools/widl/configure.ac >> +++ b/mingw-w64-tools/widl/configure.ac >> @@ -16,6 +16,15 @@ AM_MAINTAINER_MODE >>

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-07 Thread Martin Storsjö
On Sun, 7 Oct 2018, Jacek Caban wrote: Hi Martin, On 05/10/2018 23:02, Martin Storsjö wrote: At least clang looks for headers in prefix/include in additio n to prefix/triplet/include. This allows configuring widl to look for them in that directory as well. When shipping sysroots for more

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-07 Thread Jacek Caban
Hi Martin, On 05/10/2018 23:02, Martin Storsjö wrote: At least clang looks for headers in prefix/include in addition to prefix/triplet/include. This allows configuring widl to look for them in that directory as well. When shipping sysroots for more than one or two target architectures, allowin

Re: [Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-07 Thread Liu Hao
在 2018/10/6 5:02, Martin Storsjö 写道: > At least clang looks for headers in prefix/include in addition to > prefix/triplet/include. This allows configuring widl to look for them > in that directory as well. > > When shipping sysroots for more than one or two target architectures, > allowing sharing

[Mingw-w64-public] [PATCH] widl: Allow overriding the default include path

2018-10-05 Thread Martin Storsjö
At least clang looks for headers in prefix/include in addition to prefix/triplet/include. This allows configuring widl to look for them in that directory as well. When shipping sysroots for more than one or two target architectures, allowing sharing the headers in a triplet-less include directory