[ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Oct 25 11:10:00 GMT 2014


On Oct 24 23:17, Denis Excoffier wrote:
> 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?

If AddDllDirectory works without much hassle, which I have to test first,
why introduce CYGWIN_DLLPATH or another CYGWIN item?

LD_LIBRARY_PATH would be the one we want then, wouldn't it?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141025/501ab2a6/attachment.sig>


More information about the Cygwin mailing list