Re: [PATCH wayland-protocols] sysroot prefix

2017-08-04 Thread Tomek Bury
Sorry for a delay, broke my leg :( I'll send a patch without the extra "/" using git send-mail as soon as I got that one configured. Cheers, Tomek On Thu, Jul 20, 2017 at 10:45 AM Quentin Glidic < sardemff7+wayl...@sardemff7.net> wrote: > On 7/20/17 11:25 AM, Daniel Stone wrote: > > Hi, > > >

Re: [PATCH wayland-protocols] sysroot prefix

2017-07-20 Thread Quentin Glidic
On 7/20/17 11:25 AM, Daniel Stone wrote: Hi, On 20 July 2017 at 10:14, Quentin Glidic wrote: Using ${pc_sysrootdir} sounds like the correct thing to do. However, your patch introduces a triple / when PKG_CONFIG_SYSROOT_DIR is not set. Having two / is already

Re: [PATCH wayland-protocols] sysroot prefix

2017-07-20 Thread Daniel Stone
Hi, On 20 July 2017 at 10:14, Quentin Glidic wrote: > Using ${pc_sysrootdir} sounds like the correct thing to do. However, your > patch introduces a triple / when PKG_CONFIG_SYSROOT_DIR is not set. > Having two / is already trouble on some platform (though the

Re: [PATCH wayland-protocols] sysroot prefix

2017-07-20 Thread Quentin Glidic
On 7/6/17 11:02 AM, Tomek Bury wrote: Hi, I've attached a trivial patch we discussed yesterday on #wayland channel. The patch adds a sysroot prefix to the "pkgdatadir" variable. The pkg-config automatically adds sysroot to paths returned by --cflags and --libs but *NOT* to --variable. The

[PATCH wayland-protocols] sysroot prefix

2017-07-06 Thread Tomek Bury
Hi, I've attached a trivial patch we discussed yesterday on #wayland channel. The patch adds a sysroot prefix to the "pkgdatadir" variable. The pkg-config automatically adds sysroot to paths returned by --cflags and --libs but *NOT* to --variable. The "pkgdatadir" in wayland-protocols.pc is