diff options
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index 81cb86d..c428d14 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -113,7 +113,7 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) now. */ if (name[0] == '=') new_dirs->name = concat (ld_sysroot, name + 1, (const char *) NULL); - else if (CONST_STRNEQ (name, "$SYSROOT")) + else if (startswith (name, "$SYSROOT")) new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); else new_dirs->name = xstrdup (name); |