mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR.
This commit is contained in:
@ -547,7 +547,6 @@ check_for_scripts_dir (char *dir)
|
||||
|
||||
SCRIPTDIR (passed from Makefile)
|
||||
(adjusted according to the current location of the binary)
|
||||
SCRIPTDIR (passed from Makefile)
|
||||
the dir where this program is (for using it from the build tree). */
|
||||
|
||||
static char *
|
||||
@ -571,10 +570,6 @@ find_scripts_dir (void)
|
||||
free (dir);
|
||||
}
|
||||
|
||||
if (check_for_scripts_dir (SCRIPTDIR))
|
||||
/* We've been installed normally. */
|
||||
return SCRIPTDIR;
|
||||
|
||||
/* Look for "ldscripts" in the dir where our binary is. */
|
||||
dir = make_relative_prefix (program_name, ".", ".");
|
||||
if (dir)
|
||||
|
Reference in New Issue
Block a user