On Wed, Nov 19, 2014 at 11:38 PM, Greg Jung <[email protected]> wrote: > > ---------- Forwarded message ---------- > From: Greg Jung <[email protected]> > Date: Wed, Nov 19, 2014 at 6:41 PM > Subject: Re: [Msys2-users] CMAKE execute_process doesn't preserve > environment variables. > To: Alexey Pavlov <[email protected]> > > > Thanks a lot, that works, but then I had to rename /usr/bin/pkg-config.exe > so it wouldn't be picked to call; even though my path is > /mingw64/bin:/usr/bin: etc. > What's going on there? >
I see two possibilities. 1. The tool path is hardcoded somewhere when invoked (/usr/bin/pkg-config). 2. Your PATH is not what you think. Even if it seems correct before the build, maybe it's augmented at some point in it. I would triple-check `echo $PATH` before anything else. Then try some stdout printing at selected places in the build if possible. Good luck, Matt ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
