Kaydet (Commit) 61d57bce authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Don't link Library_mysqlc against -lnsl

At least Fedora 28 glibc-2.27-8.fc28 no longer provides the nis development
headers and libraries. (It only still contains some binaries for backwards
compatibility, in the libnsl sub-package: "This package provides the legacy
version of libnsl library, for accessing NIS services.")

The -lnsl was present ever since 4946c62f
"mysqlconnector: initial import from CWS mysqlnative", but appears to not be
necessary (at least any more).

Change-Id: I10b56cdc1a438fb2978125ae0acde0dbec747e78
Reviewed-on: https://gerrit.libreoffice.org/52536Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst a2f7eb5f
......@@ -17,7 +17,7 @@ $(eval $(call gb_Library_use_externals,mysqlc,\
$(eval $(call gb_Library_add_libs,mysqlc,\
$(if $(filter-out WNT,$(OS)),$(if $(filter MACOSX SOLARIS,$(OS)),-lz -lm,\
-rdynamic -lz -lcrypt -lnsl -lm)) \
-rdynamic -lz -lcrypt -lm)) \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment