diff options
author | fanquake <fanquake@gmail.com> | 2021-03-31 14:37:06 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-03-31 14:38:06 +0800 |
commit | b14462083f82aeaa9a376978f210db5538db296f (patch) | |
tree | c3587535367f0ba6f5abf99d28f795d3291babd8 /src/init.cpp | |
parent | e4a2918238559e0b82e287833f51b321b97518ab (diff) | |
parent | 4783115fd4cccb46a7f8c592b34fa7c094c29410 (diff) |
Merge #21486: build: link against -lsocket if required for *ifaddrs
4783115fd4cccb46a7f8c592b34fa7c094c29410 net: add ifaddrs.h include (fanquake)
879215e665a9f348c8d3fa92701c34065bc86a69 build: check if -lsocket is required with *ifaddrs (fanquake)
87deac66aa747481e6f34fc80599e1e490de3ea0 rand: only try and use freeifaddrs if available (fanquake)
Pull request description:
Fixes #21485 by linking against `-lsocket` when it's required for using `*ifaddrs` functions.
ACKs for top commit:
laanwj:
Code review ACK 4783115fd4cccb46a7f8c592b34fa7c094c29410
hebasto:
ACK 4783115fd4cccb46a7f8c592b34fa7c094c29410, I have reviewed the code and it looks OK, I agree it can be merged.
Tree-SHA512: 4542e036e9b029de970eff8a9230fe45d9204bb22313d075f474295d49bdaf1f1cbb36c0c6e2fa8dbbcdba518d8d3a68a6116ce304b82414315f333baf9af0e4
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions