diff options
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index 36a6f0d..0ee740c 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -187,6 +187,11 @@ main (argc, argv) ldsym_init (); ldfile_add_arch (""); + /* Set the default directory for finding script files. + Libraries will be searched for here too, but we want + them to be, anyway. */ + ldfile_add_library_path (SCRIPTDIR); + config.make_executable = true; force_make_executable = false; |