diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-10-10 19:45:16 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-10-10 19:45:16 +0000 |
commit | 7ec50564b4a29045e9fd0e36515eb9cc59b06790 (patch) | |
tree | c35e61cfbb5200c656b539e3d4b7d4cea182f8f5 /nss | |
parent | ff136bf5c63b11b41e02ab6274deccee4615be37 (diff) |
put all logic on how to run linker for NSS and PAM components in configure script (remove stuff from Makefile.ams) and add Solaris version script (renaming version scripts as needed) (r1250 from -solaris branch)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1253 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss')
-rw-r--r-- | nss/Makefile.am | 8 | ||||
-rw-r--r-- | nss/exports.glibc (renamed from nss/nss_ldap.map) | 0 | ||||
-rw-r--r-- | nss/exports.solaris | 23 |
3 files changed, 25 insertions, 6 deletions
diff --git a/nss/Makefile.am b/nss/Makefile.am index 49e7e64..712c20e 100644 --- a/nss/Makefile.am +++ b/nss/Makefile.am @@ -34,12 +34,7 @@ EXTRA_nss_ldap_so_SOURCES = aliases.c ethers.c group.c hosts.c netgroup.c \ nss_ldap_so_DEPENDENCIES = $(NSS_MODULE_OBJS) nss_ldap_so_LDADD = ../common/libtio.a ../common/libprot.a $(NSS_MODULE_OBJS) -nss_ldap_so_LDFLAGS = -shared -Wl,-h,$(NSS_LDAP_SONAME) -if HAVE_VERSION_SCRIPT_FLAG -nss_ldap_so_LDFLAGS += $(VERSION_SCRIPT_FLAG)\$(srcdir)/nss_ldap.map -endif - -EXTRA_DIST = nss_ldap.map +EXTRA_DIST = exports.glibc exports.solaris install-exec-local: install-nss_ldap_so uninstall-local: uninstall-nss_ldap_so @@ -48,5 +43,6 @@ install-nss_ldap_so: nss_ldap.so -rm -f $(DESTDIR)$(libdir)/$(NSS_LDAP_SONAME) $(mkinstalldirs) $(DESTDIR)$(libdir) $(INSTALL_PROGRAM) nss_ldap.so $(DESTDIR)$(libdir)/$(NSS_LDAP_SONAME) + uninstall-nss_ldap_so: -rm -f $(DESTDIR)$(libdir)/$(NSS_LDAP_SONAME) diff --git a/nss/nss_ldap.map b/nss/exports.glibc index 0ed5ea2..0ed5ea2 100644 --- a/nss/nss_ldap.map +++ b/nss/exports.glibc diff --git a/nss/exports.solaris b/nss/exports.solaris new file mode 100644 index 0000000..5c191be --- /dev/null +++ b/nss/exports.solaris @@ -0,0 +1,23 @@ +# $Id: exports.solaris,v 1.1 2010-08-07 00:24:21 tedcheng Exp $ + +nss_ldap.so.1 { + # published NSS service functions + global: + # Published NSS service module interfaces + # _nss_ldap_bootparams_constr; + _nss_ldap_ethers_constr; + _nss_ldap_group_constr; + _nss_ldap_hosts_constr; + _nss_ldap_networks_constr; + _nss_ldap_protocols_constr; + _nss_ldap_passwd_constr; + _nss_ldap_rpc_constr; + _nss_ldap_services_constr; + _nss_ldap_shadow_constr; + _nss_ldap_netgroup_constr; + + # everything else should not be exported + local: + *; + +}; |