]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - nss_ldap/patches/nss_ldap-254-soname.patch
Move all packages to root.
[people/stevee/ipfire-3.x.git] / nss_ldap / patches / nss_ldap-254-soname.patch
diff --git a/nss_ldap/patches/nss_ldap-254-soname.patch b/nss_ldap/patches/nss_ldap-254-soname.patch
new file mode 100644 (file)
index 0000000..e832c2f
--- /dev/null
@@ -0,0 +1,12 @@
+Set the soname which glibc expects us to have.
+--- nss_ldap-254/configure.in  2007-02-26 16:40:53.000000000 -0500
++++ nss_ldap-254/configure.in  2007-02-26 16:40:47.000000000 -0500
+@@ -92,7 +92,7 @@
+   nss_ldap_so_LDFLAGS="-b -dynamic -G `cat exports.hpux`"
+   CPPFLAGS="$CPPFLAGS -I. -DHPUX"
+   TARGET_OS=HPUX ;;
+-linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;;
++linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux -Wl,-soname=libnss_ldap.so.2" ;;
+ *) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;;
+ esac