diff --git a/package/binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch b/package/binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch index f54b1b3081..9bb23411f6 100644 --- a/package/binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch +++ b/package/binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch @@ -17,8 +17,8 @@ index d4837d0..937da8a 100644 && command_line.rpath == NULL) { path = (const char *) getenv ("LD_RUN_PATH"); -+ if ((lib_path) && (strlen (lib_path) == 0)) -+ lib_path = NULL; ++ if ((path) && (strlen (path) == 0)) ++ path = NULL; if (path && gld${EMULATION_NAME}_search_needed (path, &n, force)) break;