On Sun, Apr 06, 2014 at 08:55:31AM -0700, Daniel Leslie wrote:
I'm trying to create a 'portable' distribution of chicken and am
running
into a simple issue. Basically, the built-in library search path isn't
always valid, and csc and csi don't appear to pay attention to
LD_LIBRARY_PATH.
Alright, so with csi and csc we can get around this by explicitly
providing
a -include-path parameter at the command line. But what of
installing eggs?
Chicken-install takes no such parameter, and invocations of csc from
setup
scripts are not mutable to accept the parameter.
It seems to me that the easy fix would be to import a path from some
environment variable by default. Does such an environment variable
exist
already?
The way I do it is by passing CSC_OPTIONS on the commandline, through an
environment. There, you can place any options which are appended to the
commandline for every "csc" invocation.
Cheers,
Peter