summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patches/binutils/2.25/300-012_check_ldrunpath_length.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/binutils/2.25/300-012_check_ldrunpath_length.patch b/patches/binutils/2.25/300-012_check_ldrunpath_length.patch
index 16365b9..f1f31af 100644
--- a/patches/binutils/2.25/300-012_check_ldrunpath_length.patch
+++ b/patches/binutils/2.25/300-012_check_ldrunpath_length.patch
@@ -15,7 +15,7 @@ index 137446f..bb8391a 100644
rpath = command_line.rpath;
if (rpath == NULL)
rpath = (const char *) getenv ("LD_RUN_PATH");
-+ if ((rpath) && (strlen (rpath) == 0))
++ if ((rpath) && (*rpath == '\0'))
+ rpath = NULL;
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)