omit linker option '--dynamic-list' for MacOS

This commit is contained in:
hexcoder-
2020-08-31 16:19:09 +02:00
parent ebd1e6bc4b
commit 18ea9a8447

View File

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