source: npl/system/nss_ldap/patches/fix_lib_symlink.patch

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 642 bytes
RevLine 
[c5c522c]1Description: Fix symlink generation (probably required for multiarch)
2Author: Bastian Blank <waldi@debian.org>
3
4--- a/Makefile.am
5+++ b/Makefile.am
6@@ -84,7 +84,7 @@ if GLIBC
7        $(INSTALL_PROGRAM) -o $(INST_UID) -g $(INST_GID) nss_ldap.so $(DESTDIR)$(libdir)/$(NSS_LDAP_LIBC_VERSIONED)
8        (cd $(DESTDIR)$(libdir); ln -sf $(NSS_LDAP_LIBC_VERSIONED) $(NSS_LDAP_NSS_VERSIONED))
9        $(mkinstalldirs) $(DESTDIR)/usr$(libdir)
10-       (cd $(DESTDIR)/usr$(libdir); ln -sf ../..$(libdir)/$(NSS_LDAP_NSS_VERSIONED) .)
11+       (cd $(DESTDIR)/usr$(libdir); ln -sf $(libdir)/$(NSS_LDAP_NSS_VERSIONED) libnss_ldap.so)
12 else
13        $(mkinstalldirs) $(DESTDIR)$(libdir)
14 if HPUX
Note: See TracBrowser for help on using the repository browser.