Lines Matching defs:exec_prefix

78 static char   exec_prefix[MAXPATHLEN+1];
411 dependent directory (exec_prefix), containing the shared library
412 modules. Note that prefix and exec_prefix are the same directory
415 Separate searches are carried out for prefix and exec_prefix.
417 file or directory is found. If no prefix or exec_prefix is found, a
433 are performed for prefix and for exec_prefix, but with a different
437 exec_prefix will always be lib/python.VERSION/dynaload, where VERSION
442 it points to prefix and exec_prefix. %PYTHONHOME% can be a single
443 directory, which is used for both, or the prefix and exec_prefix
453 Well, almost. Once we have determined prefix and exec_prefix, the
458 prefix and exec_prefix globals are tweaked so they reflect the values
461 known use of sys.prefix and sys.exec_prefix is for the ILU installation
592 // "Could not find platform dependent libraries <exec_prefix>\n");
593 strncpy(exec_prefix, volume_name, MAXPATHLEN);
594 joinpath(exec_prefix, EXEC_PREFIX);
595 joinpath(exec_prefix, lib_python);
596 joinpath(exec_prefix, "dynaload");
599 //if (Py_VerboseFlag) PySys_WriteStderr("%s[%d]: Exec_prefix = \"%s\"\n", __func__, __LINE__, exec_prefix);
603 // "Consider setting $PYTHONHOME to <prefix>[%c<exec_prefix>]\n", DELIM);
609 /* Reduce prefix and exec_prefix to their essence,
661 bufsz += strlen(exec_prefix) + 1;
716 strcat(buf, exec_prefix);
724 /* At this point, exec_prefix is set to VOL:/Efi/StdLib/lib/python.27/dynalib.
729 reduce(exec_prefix);
730 reduce(exec_prefix);
731 reduce(exec_prefix);
732 if (!exec_prefix[0]) {
733 strcpy(exec_prefix, volume_name);
735 bufsz = strlen(exec_prefix);
736 if(exec_prefix[bufsz-1] == ':') {
737 exec_prefix[bufsz] = SEP;
738 exec_prefix[bufsz+1] = 0;
742 // strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN);
745 if (Py_VerboseFlag) PySys_WriteStderr("%s[%d]: exec_prefix = \"%s\"\n", __func__, __LINE__, exec_prefix);
773 return exec_prefix;