Lines Matching refs:libdir
133 char *libdir;
140 libdir = xmalloc( len + 1 );
141 memcpy( libdir, info.dli_fname, len );
142 libdir[len] = 0;
143 return libdir;
362 char *libdir;
368 libdir = get_runtime_libdir();
376 if (libdir && !bindir && !build_dir)
378 build_dir = running_from_build_dir( libdir );
379 if (!build_dir) bindir = build_path( libdir, LIB_TO_BINDIR );
388 if (libdir) dlldir = build_path( libdir, LIB_TO_DLLDIR );
394 free( libdir );
512 /* first, bin directory from the current libdir or argv0 */