(_dl_map_object): Use _dl_rpath variable in place of DEFAULT_RPATH macro.
authorroland <roland>
Thu, 16 Nov 1995 11:35:24 +0000 (11:35 +0000)
committerroland <roland>
Thu, 16 Nov 1995 11:35:24 +0000 (11:35 +0000)
elf/dl-load.c

index 126d6aa..88ee318 100644 (file)
@@ -139,7 +139,10 @@ _dl_map_object (struct link_map *loader, const char *name)
       if (fd == -1 && ! _dl_secure)
        trypath (getenv ("LD_LIBRARY_PATH"));
       if (fd == -1)
-       trypath (DEFAULT_RPATH);
+       {
+         extern const char *_dl_rpath; /* Set in rtld.c. */
+         trypath (_dl_rpath);
+       }
     }
   else
     {