[Issue 22581] DMD not able to build itself on Solaris

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 9 21:39:39 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22581

--- Comment #2 from Brian Callahan <bcallah at openbsd.org> ---
If -lsocket and -lnsl are unconditionally required to link programs on Solaris,
it might be better to place them in the DMD source code here where there are
similar tweaks for both Linux and OpenBSD:
https://github.com/dlang/dmd/blob/master/src/dmd/link.d#L750

Your PR at https://github.com/dlang/dmd/pull/13409 makes it too easy for users
to accidentally destroy these needed changes.

There seems to be more work needed to fix the Solaris runtime; I'll work on it
shortly.

--


More information about the Digitalmars-d-bugs mailing list