diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-06-22 13:32:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-06-22 13:32:15 +0300 |
commit | 8bec732598e32ff0480f4d44258a4286f1c41019 (patch) | |
tree | fd1ba6c4c7bd44faff88c0a9b776bca2dab7b137 /mysql | |
parent | 42edfe162fc31ee9e55152563336b202e8c6e855 (diff) |
Drop the redundant linkage of libnsl
Diffstat (limited to 'mysql')
-rw-r--r-- | mysql/buildfile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mysql/buildfile b/mysql/buildfile index 09b4987..8017d20 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -216,8 +216,17 @@ if ($tclass != 'windows') c.libs += -lpthread -lm - if ($tclass == 'linux') - c.libs += -lnsl +# Drop the redundant linkage of libnsl. +# +# The upstream package looks for gethostbyname_r() in libnsl and links it even +# though it doesn't export the symbol (that actually is not even used in +# libmariadb). +# +# Note that glibc 2.26 deprecates libnsl and doesn't install it by default, so +# its linkage just fails. +# +# if ($tclass == 'linux') +# c.libs += -lnsl if ($tclass != 'bsd') c.libs += -ldl |