Use of -dead_strip_dylibs by default makes the -framework flag appear broken.
Ben Gamari
ben at well-typed.com
Mon Jun 18 22:49:48 UTC 2018
Travis Whitaker <pi.boy.travis at gmail.com> writes:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180618/f42e150a/attachment.sig>
More information about the ghc-devs
mailing list