2014-10-24 22:16, Christian Franke wrote: > > Corinna Vinschen wrote: >> >> Sigh. >> >> I don't like the idea either that this simple change breaks existing >> scenarios. I'm inclined to revert this change. >> >> Christian, would you mind terribly to re-add the tweak to postfix >> to set $PATH? >> > > No problem. > > Another possible solution: > Check for e.g. CYGWIN_DLLPATH environment variable before calling > SetDllDirectory(). > > If unset or empty, call SetDllDirectory("X:\path_to_cygwin\bin"); > else if set to ".", do nothing. > else call SetDllDirectory(CYGWIN_DLLPATH); > > The above 'make check' should then work again as 'CYGWIN_DLLPATH=. make > check'. I can buy this. Setting 'export CYGWIN_DLLPATH := .' at the beginning of the Makefile will do the job.
> > Possible enhancement: If AddDllDirectory() is available (>= Win8), accept a > real search path in CYGWIN_DLLPATH. Also perhaps you can use yet another subitem in the CYGWIN environment variable? Denis Excoffier. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple