Enable using PIC by default even for static libraries and several other
build-related fixes (warning fixes etc).

See https://github.com/wxWidgets/wxWidgets/pull/2008
This commit is contained in:
Vadim Zeitlin
2020-08-08 02:01:06 +02:00
19 changed files with 119 additions and 44 deletions

View File

@@ -180,7 +180,11 @@ wxIMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress);
namespace
{
#if defined(HAVE_GETHOSTBYNAME)
#if defined(HAVE_GETHOSTBYNAME) && \
!defined(HAVE_FUNC_GETHOSTBYNAME_R_6) && \
!defined(HAVE_FUNC_GETHOSTBYNAME_R_5) && \
!defined(HAVE_FUNC_GETHOSTBYNAME_R_3)
hostent *deepCopyHostent(hostent *h,
const hostent *he,
char *buffer,