fix dynamic list usage error in afl-cc

This commit is contained in:
Andrea Fioraldi
2021-03-19 09:44:04 +01:00
parent 44347beff0
commit 5be7d9c1cc
2 changed files with 2 additions and 2 deletions

View File

@ -1040,7 +1040,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
}
#if !defined(__APPLE__) && !defined(__sun)
if (shared_linking)
if (!shared_linking)
cc_params[cc_par_cnt++] =
alloc_printf("-Wl,--dynamic-list=%s/dynamic_list.txt", obj_path);
#endif