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 01:46:26 +0200

>
> But I don’t think there is any way to override the shell called via system(3)
> as a workaround, nor should there be.
>
> A possibly better solution would be to include the absolute path to 
> libchicken.dylib
> in the test version of that library, or in the tested binaries using 
> install_name_tool.
> That would avoid the use of DYLD_LIBRARY_PATH completely during testing.  But 
> the makefile
> and build process is not set up for this contingency and I could not figure 
> out
> how to do it cleanly, just for the testing phase.
>

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.


felix




reply via email to

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