> On Apr 15, 2016, at 18:46, felix.winkelm...@bevuta.com 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... Jim _______________________________________________ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers