2002-01-29 Chris Demetriou <cgd@broadcom.com>
[deliverable/binutils-gdb.git] / ld / ldfile.c
index 039a648564e24319effd08bfe1765de1869a9a61..655ee608506edd534a12c4fa6d3b656c91d7d967 100644 (file)
@@ -79,6 +79,9 @@ ldfile_add_library_path (name, cmdline)
 {
   search_dirs_type *new;
 
+  if (!cmdline && config.only_cmd_line_lib_dirs)
+    return;
+
   new = (search_dirs_type *) xmalloc (sizeof (search_dirs_type));
   new->next = NULL;
   new->name = name;
This page took 0.034289 seconds and 4 git commands to generate.