Skip to content

Commit

Permalink
Add support for cleared --module-path setting (= system default, no o…
Browse files Browse the repository at this point in the history
…verriding)
  • Loading branch information
Thulinma committed Dec 29, 2011
1 parent d9b02a3 commit 05a0506
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bbsecondary.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ void start_secondary(void) {
bb_config.mod_path,
NULL
};
if (!*bb_config.mod_path) {
x_argv[10] = 0;//remove -modulepath if not set
}
bb_status.x_pid = bb_run_fork_ld(x_argv, bb_config.ld_path);
}

Expand Down

0 comments on commit 05a0506

Please sign in to comment.