Lines Matching refs:runpath
377 char *runpath = NULL; /* existing effective LD_LIBRARY_PATH setting */
591 runpath = getenv("LD_LIBRARY_PATH");
593 runpath = dmpath;
600 runpath = getenv("LD_LIBRARY_PATH");
603 /* runpath contains current effective LD_LIBRARY_PATH setting */
606 new_runpath = JLI_MemAlloc(((runpath != NULL) ? JLI_StrLen(runpath) : 0) +
639 * checks if the desired runpath exists, this logic does a more
642 if (runpath != NULL &&
643 JLI_StrNCmp(newpath, runpath, JLI_StrLen(newpath)) == 0 &&
644 (runpath[JLI_StrLen(newpath)] == 0 || runpath[JLI_StrLen(newpath)] == ':') &&
661 if (runpath != 0) {
663 JLI_StrCat(new_runpath, runpath);