GNOME Bugzilla – Bug 344197
darwin doesn't have **environ symbol
Last modified: 2006-07-27 20:52:17 UTC
Nope, it doesn't. So when libnautilus-private/nautilus-program-choosing.c does: extern char **environ; [...] envp = environ; the linker crashes because _environ is not a defined symbol. The standard compatibility patch is: +#include <crt_externs.h> +#define environ (*_NSGetEnviron()) extern char **environ; so the formal solution is to have configure check for that header and symbol, and then do those #include and #define iff the AC_ checks find them (based on HAVE_ tokens).
Whoa, /me==super-moron. Please close as dup of bug #342084
Hrm, actally that's a different product. So make that "see also", not "close as dup of". Sorry for the bugzilla-spam
Same product now, closing. :-) *** This bug has been marked as a duplicate of 342084 ***