]> git.ipfire.org Git - ipfire-3.x.git/blob - nss_ldap/patches/nss_ldap-254-soname.patch
Change file layout of the makefiles.
[ipfire-3.x.git] / nss_ldap / patches / nss_ldap-254-soname.patch
1 Set the soname which glibc expects us to have.
2 --- nss_ldap-254/configure.in 2007-02-26 16:40:53.000000000 -0500
3 +++ nss_ldap-254/configure.in 2007-02-26 16:40:47.000000000 -0500
4 @@ -92,7 +92,7 @@
5 nss_ldap_so_LDFLAGS="-b -dynamic -G `cat exports.hpux`"
6 CPPFLAGS="$CPPFLAGS -I. -DHPUX"
7 TARGET_OS=HPUX ;;
8 -linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;;
9 +linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux -Wl,-soname=libnss_ldap.so.2" ;;
10 *) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;;
11 esac
12