version 1.11, 2004/11/17 18:14:06 |
version 1.12, 2005/02/05 23:31:52 |
|
|
* http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html |
* http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html |
* XXX - should prepend to original value, if any |
* XXX - should prepend to original value, if any |
*/ |
*/ |
if (noexec && def_noexec_file != NULL) |
if (noexec && def_noexec_file != NULL) { |
#if defined(__darwin__) || defined(__APPLE__) |
#if defined(__darwin__) || defined(__APPLE__) |
insert_env(format_env("DYLD_INSERT_LIBRARIES", def_noexec_file, VNULL), 1); |
insert_env(format_env("DYLD_INSERT_LIBRARIES", def_noexec_file, VNULL), 1); |
insert_env(format_env("DYLD_FORCE_FLAT_NAMESPACE", VNULL), 1); |
insert_env(format_env("DYLD_FORCE_FLAT_NAMESPACE", VNULL), 1); |
|
|
insert_env(format_env("LD_PRELOAD", def_noexec_file, VNULL), 1); |
insert_env(format_env("LD_PRELOAD", def_noexec_file, VNULL), 1); |
# endif |
# endif |
#endif |
#endif |
|
} |
|
|
/* Set PS1 if SUDO_PS1 is set. */ |
/* Set PS1 if SUDO_PS1 is set. */ |
if (ps1) |
if (ps1) |