[Top][All Lists]

[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: Jim Ursetto
Subject: Re: [Chicken-hackers] [PATCH] #1277 make check failure on OS X 10.11
Date: Fri, 15 Apr 2016 21:23:17 -0500

> 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 
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...


reply via email to

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