
18 Jun
2018
18 Jun
'18
6:49 p.m.
Travis Whitaker
Hello Haskell Friends,
Hi Travis, This behavior was introduced in https://phabricator.haskell.org/rGHCb592bd98ff25730bbe3c13d6f62a427df8c78e28 to mitigate macOS's very restrictive linker command limit (which limits the number of direct dependencies that an object may have; see #14444). Perhaps it would help if we omitted -dead_strip_dylibs when doing the final link of an executable? This would allow the user to specify the -framework flags during the final link, (presumably) ensuring that they are linked in untouched. I'm sure Moritz will have insightful to add here. Cheers, - Ben