mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Forward XAUTHORITY variable to the plugin environment - this fixes a plugin issue in some cases on Unix
This commit is contained in:
parent
0f7e4c7344
commit
97982327f1
@ -186,7 +186,7 @@ start_p3dcert() {
|
||||
"SYSTEMROOT", "USERPROFILE", "COMSPEC",
|
||||
#endif
|
||||
#ifdef HAVE_X11
|
||||
"DISPLAY",
|
||||
"DISPLAY", "XAUTHORITY",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
@ -863,7 +863,7 @@ start_p3dpython(P3DInstance *inst) {
|
||||
"SYSTEMROOT", "USERPROFILE", "COMSPEC",
|
||||
#endif
|
||||
#ifdef HAVE_X11
|
||||
"DISPLAY",
|
||||
"DISPLAY", "XAUTHORITY",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
@ -956,7 +956,7 @@ start_p3dpython(P3DInstance *inst) {
|
||||
_env += "TEMP=";
|
||||
_env += inst_mgr->get_temp_directory();
|
||||
_env += '\0';
|
||||
|
||||
|
||||
// Define each package's root directory in an environment variable
|
||||
// named after the package, for the convenience of the packages in
|
||||
// setting up their config files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user