mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
swap macos to dynamic_lookup for undefined.
This commit is contained in:
parent
1451e0fb43
commit
6fbb6d188e
@ -986,7 +986,7 @@ cli_ldflags(int argc, char **argv)
|
||||
printf("%.*s ", (int)len, p);
|
||||
|
||||
#if defined(__MACH__)
|
||||
printf("-dynamiclib -undefined suppress -flat_namespace ");
|
||||
printf("-dynamiclib -undefined dynamic_lookup -flat_namespace ");
|
||||
#else
|
||||
printf("-shared ");
|
||||
#endif
|
||||
@ -2221,7 +2221,7 @@ cli_build_ldflags(struct buildopt *bopt)
|
||||
if (bopt->single_binary == 0) {
|
||||
#if defined(__MACH__)
|
||||
cli_buf_appendf(bopt->ldflags,
|
||||
"-dynamiclib -undefined suppress -flat_namespace ");
|
||||
"-dynamiclib -undefined dynamic_lookup -flat_namespace ");
|
||||
#else
|
||||
cli_buf_appendf(bopt->ldflags, "-shared ");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user