chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11
Date: Sat, 16 Apr 2016 18:24:06 +0200

>
> > On Apr 15, 2016, at 18:46, address@hidden wrote:
> >
> > Another dirty solution would be to add a hack to those tools that invoke 
> > uninstalled
> > programs via system(3) to invoke "env DYLD_LIBRARY_PATH=... <program>"
> > instead.
> >
>
> In limited testing the env approach seems to work.  But, I can’t see how to
> do this only during the testing phase.  There’s no way for chicken-install or
> setup-api, for example, to know that it’s being invoked as an uninstalled 
> program,
> and needs to pass DYLD_LIBRARY_PATH to its children.  I suppose that, if a 
> tool
> detects that the DYLD_LIBRARY_PATH variable is set at all, and the platform is
> OS X, it could prepend the env call.  I would prefer to do only do it during
> `make check`, but it may be an okay compromise.  I’ll look into it...

You could check for (yet another) environment variable, say,
CHICKEN_DYLD_LIBRARY_PATH...


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]