SOURCES: nss_ldap-soname.patch (NEW) - set the soname which glibc ...

baggins baggins at pld-linux.org
Wed Nov 7 15:13:23 CET 2007


Author: baggins                      Date: Wed Nov  7 14:13:23 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- set the soname which glibc expects us to have

---- Files affected:
SOURCES:
   nss_ldap-soname.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nss_ldap-soname.patch
diff -u /dev/null SOURCES/nss_ldap-soname.patch:1.1
--- /dev/null	Wed Nov  7 15:13:23 2007
+++ SOURCES/nss_ldap-soname.patch	Wed Nov  7 15:13:18 2007
@@ -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
+ 
================================================================


More information about the pld-cvs-commit mailing list