summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-07 12:46:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-07 14:02:35 +0200
commit61d57bcebd1a246603cbcd9ad5e0a7df1a8d66cd (patch)
tree240867041e6fd3c3cbd71851f4ff8a866062f8a6
parenta2f7eb5f8ea7f3ae50aea72de8b15c3364493285 (diff)
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 4946c62f2943dfb3466cc4214a9c8ccd922669b5 "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/52536 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--mysqlc/Library_mysqlc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqlc/Library_mysqlc.mk b/mysqlc/Library_mysqlc.mk
index 8eb207d4bd9e..97f2b63500a2 100644
--- a/mysqlc/Library_mysqlc.mk
+++ b/mysqlc/Library_mysqlc.mk
@@ -17,7 +17,7 @@ $(eval $(call gb_Library_use_externals,mysqlc,\
ifeq ($(SYSTEM_MYSQL_CONNECTOR_CPP),)
$(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)) \
))
endif