[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Sat Jul 17 15:35:42 CEST 2010
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 10/07/17 15:35:42
Modified files:
cm3/m3-sys/cminstall/src/config-no-install/: ALPHA_OSF
Log message:
Honor $M3_PORTABLE_RUN_PATH like gnuld.common: if it is set,
don't use LIB_USE, since that is specific to the machine building
the files. Instead, use nothing at all, consumer will
need to set LD_LIBRARY_PATH.
Note that ALPHA_OSF does support -rpath ${ENVVAR}, so a good
solution would be to rename foo to foo.exe (or something) and
drop in a constant shell script foo.
The shell script foo "finds itself", like configure:
if $0 is a full path, that is it, if it is relative,
that is it relative to current working directory, else
search $PATH
then shell script should set $ORIGIN to its own directory
or and we'd use $ORIGIN/../lib and shell script
would exec foo.exe. Todo later. Maybe. Probably not.
More information about the M3commit
mailing list